Closed Bug 1835068 Opened 2 years ago Closed 2 years ago

[css-nesting] Allow nested selectors starting with a combinator.

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

Right now in nesting context we allow this:

foo {
  bar { /* stuff */ }
}

But not this:

foo {
  + bar { /* ... */ }
}

Which some tests expect to work. Presumably the new spec also allows this so we should look into this.

Blocks: 1648037
No longer depends on: 1648037

Make parsing test not depend on under-specified serialization details,
see https://github.com/w3c/csswg-drafts/issues/8970.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dbe4f23432a6 Parse relative selectors for nesting. r=dshin
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/40595 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: