Closed Bug 1543762 Opened 6 years ago Closed 6 years ago

Flush less in cross-document getComputedStyle situations.

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

I wrote this while looking at bug 1537903, but actually it doesn't help there, since all the extra time is spent computing styles.

I think it's still worth it though.

I wrote this while looking at bug 1537903, but actually it doesn't help there,
since all the extra time is spent actually computing styles.

I think this is still worth landing it though.

The reasoning for not caring of this case is that we mint an style anyway out of
the blue anyway. There's no point in restyling the whole document.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0fd4c1a6ade5 Flush less in cross-document getComputedStyle situations. r=heycam
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: