Closed Bug 1813008 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 38217 - [css-nesting] Make selectors dropped during forgiving parsing still count towards nest-containment.

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 38217 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/38217
Details from upstream follow.

Steinar H. Gunderson <sesse@chromium.org> wrote:

[css-nesting] Make selectors dropped during forgiving parsing still count towards nest-containment.

Also add a test. We keep track of this using a simple boolean,
and since we make CSSParser from scratch every time we start parsing
a new top-level selector, we don't need to worry about resetting it.

In line with CSSWG resolution at
https://github.com/w3c/csswg-drafts/issues/7972.

Bug: 1095675
Change-Id: I869e6859e32284167ef4e1e8c60b64e770b9e945

Reviewed-on: https://chromium-review.googlesource.com/4200218
WPT-Export-Revision: f3b18dabd9b56b29b2e7fe43db651e41d5458221

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

FAIL: 1

Chrome

FAIL: 1

Safari

FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/646b386e306a
[wpt PR 38217] - [css-nesting] Make selectors dropped during forgiving parsing still count towards nest-containment., a=testonly
https://hg.mozilla.org/integration/autoland/rev/ebeb88153be0
[wpt PR 38217] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.