[wpt-sync] Sync PR 41880 - Update and move old CSS2.1 counters tests to wpt
Categories
(Core :: Layout: Generated Content, Lists, and Counters, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41880 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41880
Details from upstream follow.
Daniil Sakhapov <sakhapov@chromium.org> wrote:
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: Id2f7c98d5d60b9f4dd8669b0e349c295b01a5f3dReviewed-on: https://chromium-review.googlesource.com/4831155
WPT-Export-Revision: ef5b83dbb6392d981007af8b791439778ab18a18
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 8 tests
Status Summary
Firefox
PASS
: 7
FAIL
: 1
Chrome
FAIL
: 8
Safari
FAIL
: 8
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-lists/counter-004.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/833cf2c9cbfd
https://hg.mozilla.org/mozilla-central/rev/cfeb56db07ba
Description
•