Repository navigation
Commit 2260367
fix(css): keep a background position written as a length zero
The browser tier over web-platform-tests, which this branch reaches for the
first time now that it sits on main, caught the slot removal taking out a
position it should not: `background:0 0` became `background:none`.
A length zero lands the image where an unwritten slot does, but the engine
computes it as `0px` where the unwritten one computes as `0%`, so a script
reading the longhand back sees the rewrite. Only a written `0%` is the initial
now; a keyword still is, and `background:0 0` was a byte longer written as
`background:none` anyway.
Three stylesheets in the corpus said so — bootstrap.min.css and both copies of
bulma.min.css, each on `background:0 0!important` in a print reset.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018tNx7sU4SbnKFhFeofDVr51 parent 0ee37d3 commit 2260367
2 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11774 | 11774 | | |
11775 | 11775 | | |
11776 | 11776 | | |
11777 | | - | |
11778 | | - | |
11779 | | - | |
| 11777 | + | |
| 11778 | + | |
| 11779 | + | |
| 11780 | + | |
11780 | 11781 | | |
11781 | 11782 | | |
11782 | 11783 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8852 | 8852 | | |
8853 | 8853 | | |
8854 | 8854 | | |
8855 | | - | |
| 8855 | + | |
| 8856 | + | |
| 8857 | + | |
8856 | 8858 | | |
8857 | | - | |
| 8859 | + | |
8858 | 8860 | | |
8859 | 8861 | | |
8860 | 8862 | | |
| |||
0 commit comments