Closed Bug 1388319 Opened 7 years ago Closed 7 years ago

stylo: Mark ServoStyleSet dirty in Init

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: xidorn, Assigned: xidorn)

References

Details

Attachments

(1 file)

As mentioned in bug 1377158 comment 139, it seems if a document don't have any stylesheet other than prefilled ones, ServoStyleSet may have a different sense of dirtiness of stylist than the actual state of Stylist.

We probably should set mStylistState to dirty in ServoStyleSet::Init.
Assignee: nobody → xidorn+moz
Comment on attachment 8894855 [details]
Bug 1388319 - Mark ServoStyleSet dirty in its Init.

https://reviewboard.mozilla.org/r/166014/#review171164

r=me
Attachment #8894855 - Flags: review?(emilio+bugs) → review+
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/ab0d7ef87baa
Mark ServoStyleSet dirty in its Init. r=emilio
https://hg.mozilla.org/mozilla-central/rev/ab0d7ef87baa
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.