Closed Bug 1833536 Opened 2 years ago Closed 2 years ago

[css-nesting] First pass at nesting parsing.

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.

Plumb everything up. This factors out declaration and rule parsing so
we share the code with the regular declaration parser.

This could be made a bit nicer in the future. We need to decide what to
do for @page and @keyframe (it seems conditional rules inside ought to
work, but that's not so easy because per spec we create a nested style
rule).

But this is a first pass that passes a good chunk of the tests. There
are other fixups to cssom, and I think some of the tests we fail are
actually wrong...

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0e3bf2b36a88 [css-nesting] Do a first pass at parsing nested rules mixed with declarations. r=tlouw
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Regressions: 1926745
No longer regressions: 1926745
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: