Closed Bug 1621849 Opened 5 years ago Closed 5 years ago

Add JS console warning about disallowed import rules for constructed style sheets

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

Details

(Whiteboard: [layout:backlog:77])

Attachments

(1 file)

We are disallowing @import rules for the replace() function based on this decision:

https://github.com/WICG/construct-stylesheets/issues/119#issuecomment-588352418

We may re-enable support for @import rules in the future. We should add a JS console warning that makes this intent more clear to authors.

Pushed by cbrindusan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b8f571a7062 Add CSS Error for DisallowedImportRule r=emilio
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Whiteboard: [layout:backlog:77]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: