Closed Bug 1524328 Opened 2 years ago Closed 2 years ago

Don't resolve counter styles during styling.

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

This will allow us to only pass a document to FinishStyle and co, which allows us to remove the pres context pointer from ComputedStyle.

Priority: -- → P3

Doing it during layout instead. This also has the nice side-effect of
no longer needing to do a full restyle when counter-style rules are inserted.

Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/43a3aa2199c1
Don't resolve counter styles in the style system. r=xidorn
https://hg.mozilla.org/integration/autoland/rev/96fd408e650f
Pass a document instead of a pres context to FinishStyle. r=xidorn
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.