Closed Bug 1417393 Opened 2 years ago Closed 2 years ago

count style contexts properly

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: heycam, Assigned: heycam)

Details

Attachments

(1 file)

No description provided.
Comment on attachment 8928488 [details]
Bug 1417393 - Count style contexts properly.

https://reviewboard.mozilla.org/r/199742/#review204834

Huh, this doesn't seem a recent regression at all. :(
Attachment #8928488 - Flags: review?(emilio) → review+
In reality we probably only need a boolean, and not a count of style contexts, to record whether we ever styled anything.  (We only use that variable to determine whether we need to restyle things.)
Pushed by cmccormack@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/66245a1865d3
Count style contexts properly. r=emilio
https://hg.mozilla.org/mozilla-central/rev/66245a1865d3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Assignee: nobody → cam
You need to log in before you can comment on or make changes to this bug.