Commit 9113824
Fix sub-pixel rendering mismatch in selector-dynamicPseudoElement test
Set explicit width on the App container to avoid fractional pixel widths
that cause 1px screenshot differences between the side-by-side panels.
Text rendering at the button's UA font size (13.3333px) produces
sub-pixel widths that sum to 539.9375px — the rounding differs between
the input and output panels due to their different page positions.
Co-authored-by: Kenneth Skovhus <skovhus@users.noreply.github.com>1 parent ac8024b commit 9113824
File tree
2 files changed
+2
-2
lines changed- test-cases
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments