Commit 13488fa
committed
Block Supports: guard test for element hover styles with a missing hover selector
This commit adds a test to cover the following behaviour: elements (such as buttons) should only render `:hover` element styles when they define a hover selector.
Props aaronrobertshaw, ramonopoly, westonruter, wildworks.
Follow-up to [65435].
Fixes #65538.
git-svn-id: https://develop.svn.wordpress.org/trunk@62701 602fd350-edb4-49c9-b593-d223f7449a821 parent 3f456ac commit 13488fa
1 file changed
Lines changed: 17 additions & 0 deletions
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
188 | 205 | | |
189 | 206 | | |
190 | 207 | | |
| |||
0 commit comments