Automatic update from web-platform-tests
Fix tests and expectations for css counters
Without <span>s tests don't match the reference on Mac.
Some symbols are generated slightly shifted due to the pixel snapping
when the words are wrapped in spans.
Bug: 990657
Change-Id: I25b00aecfc9c3311847ebcdef185aedebc55a2b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4874018
Reviewed-by: Koji Ishii <[email protected]>
Commit-Queue: Daniil Sakhapov <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1199611}
--
wpt-commits: 98a8e0b28f6eba41b3bc408ac93905c756a15f48
wpt-pr: 42027
Automatic update from web-platform-tests
Update and move old CSS2.1 counters tests to wpt
Test changes are due to the:
https://drafts.csswg.org/css-lists/#inheriting-counters
which says that we inherit the counter from sibling, only
if element counters does not already contain a counter
with the same name. So, for all the <span>s which
does not have counter-reset, we take the counter from
<div id="test">, therefor when using counter() and counters()
they have only one counter to show. Also, previous tests were
taking the value of the counter from the wrong source (counter with
same name, not same name + same creator).
Bug: 990657
Change-Id: Id2f7c98d5d60b9f4dd8669b0e349c295b01a5f3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4831155
Reviewed-by: Rune Lillesveen <[email protected]>
Commit-Queue: Daniil Sakhapov <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1195633}
--
wpt-commits: bd0fd2b9cb01258f0bf0d21452552e7f7c25fb45
wpt-pr: 41880