Closed Bug 1856079 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 41820 - Fix WPT CSS Counters style containment tests

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
120 Branch
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

Component: web-platform-tests → Layout
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3207966ce0df [wpt PR 41820] - Fix WPT CSS Counters style containment tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/5670056c57e8 [wpt PR 41820] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.