Closed Bug 1600155 Opened 5 years ago Closed 5 years ago

Make @import rules less weird.

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

Follow-up to bug 1590280.

Right now we piggy-back on RuleAdded, which means that we incorrectly flag them as modified.

Have their own notification for when the child sheet loads instead of
piggy-backing in the RuleAdded one, and make the callers check instead.

This prevents incorrectly marking as modified sheets which only have @import
rules.

They're only used by tests, and are not exposed.

Depends on D55184

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7862dad87b2f
Make @import rules less weird. r=heycam
https://hg.mozilla.org/integration/autoland/rev/a355a3a6179f
Remove StyleSheet{Added,Removed} and StyleRule{Added,Removed,Changed} events. r=heycam,smaug
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: