Closed
Bug 1839945
Opened 1 year ago
Closed 1 year ago
[css-nesting] Properly restrict nested rules.
Categories
(Core :: CSS Parsing and Computation, task)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
116 Branch
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Comment 1•1 year ago
|
||
As per https://drafts.csswg.org/css-nesting/#conditionals only some
rules are allowed inside style rules.
Assignee | ||
Comment 2•1 year ago
|
||
Now that we just use a single mutable context we can simplify this by
using the same representation. The different type is still useful
because once we enter on a nested context there's some checks we can
omit.
This should make parsing slightly faster.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b05fd7956215
[css-nesting] Properly restrict nested rules. r=zrhoffman
https://hg.mozilla.org/integration/autoland/rev/5fa3fd5cffe7
Simplify NestedRuleParser. r=boris
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/40756 for changes under testing/web-platform/tests
Comment 5•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b05fd7956215
https://hg.mozilla.org/mozilla-central/rev/5fa3fd5cffe7
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox116:
--- → fixed
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.
Description
•