Closed Bug 1699217 Opened 3 years ago Closed 3 years ago

Add support for layer() option to @import

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: sebo, Assigned: emilio)

References

(Blocks 1 open bug, )

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

The CSS Cascading and Inheritance Module Level 5 introduces a layer keyword and a layer() function to the @import CSS rule that assign the contents of the imported style sheet into its own anonymous cascade layer or into the named cascade layer.

This bug is meant to track the implementation of the keyword and function.

Sebastian

Keywords: dev-doc-needed

This works modulo the existing nested layer order bug. Will be covered
by WPT /css/css-cascade/layer-import.html once the feature is enabled (I
can probably enable it right away for those tests, but I'd rather fix
the obvious bugs first).

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/34c1b1078f03
Implement @import layer|layer(<name>). r=boris
No longer depends on: css-cascade-layers

Backed out for causing wpt failures in /css/css-cascade/layer-import

Backout link: https://hg.mozilla.org/integration/autoland/rev/dd081259042adfde1d7fe8a64d325546fee6a700

Push with failures

Failure log

Flags: needinfo?(emilio)

Was missing a pref check.

Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7b46caa81caf
Implement @import layer|layer(<name>). r=boris
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: