Repository navigation
Commit c810adf
committed
fix(core): a coarse pointer that can hover still yields the button's release to its layer
CodeBunny on #8727:
- The new hover branch in the button press layer's release arm came after
the coarse 'none' arm, and StyleX makes sibling media exclusive with the
later winning, so the coarse yield shipped as '(pointer: coarse) and (not
(hover: hover))': on a coarse primary pointer that can hover, the button
painted the press on itself at full strength while its layer faded. The
coarse arm now comes last.
- build-css.test.mjs still forbade any hover on a press arm. It now allows
it only on the fading arm, in a ':hover' rule under (hover: hover), and
checks no coarse 'none' release arm is narrowed to pointers that cannot
hover (fails on the previous head).1 parent e570a85 commit c810adf
2 files changed
Lines changed: 29 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
133 | 136 | | |
134 | 137 | | |
135 | | - | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
| 142 | + | |
140 | 143 | | |
141 | 144 | | |
142 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
411 | 413 | | |
412 | 414 | | |
413 | 415 | | |
414 | | - | |
415 | | - | |
| 416 | + | |
| 417 | + | |
416 | 418 | | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
417 | 439 | | |
418 | 440 | | |
419 | 441 | | |
| |||
0 commit comments