[wpt-sync] Sync PR 41820 - Fix WPT CSS Counters style containment tests
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox120 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41820 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41820
Details from upstream follow.
Daniil Sakhapov <sakhapov@chromium.org> wrote:
Fix WPT CSS Counters style containment tests
As per:
https://drafts.csswg.org/css-contain/#example-6932a400
and
https://github.com/w3c/csswg-drafts/issues/9116
counter() and counters() can cross the style containment boundary
and the first counter-increment will create a counter, that will be
inherited by its siblings, so class="contain" element will have a
counter from its previous sibling, and counters() inside
the style containment scopes will have access to this counter.Bug: 990657
Change-Id: I9ff784577d37b7a936e96a21548006b8b0d7848d
Reviewed-on: https://chromium-review.googlesource.com/4839207
WPT-Export-Revision: 4ead277cddb50a1adb53cb4b5d76046d1d7bcde9
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3207966ce0df
https://hg.mozilla.org/mozilla-central/rev/5670056c57e8
Description
•