Closed Bug 1352570 Opened 7 years ago Closed 7 years ago

stylo: Avoid traversing doomed NAC subtrees

Categories

(Core :: CSS Parsing and Computation, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: bholley, Assigned: bholley)

References

Details

Attachments

(1 file)

When a NAC has an ancestor frame with a pending reconstruct on it, there's no point in doing the restyling work, since the element will be destroyed along with the frame.

This is part of my queue for bug 1331047.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=8cde09423faa942d40fb3bf13a01b47c0e90dee6
MozReview-Commit-ID: LqwmavJnqW
Attachment #8853560 - Flags: review?(emilio+bugs)
Comment on attachment 8853560 [details] [diff] [review]
Introduce is_native_anonymous and cull style traversal of doomed native anonymous content. v1

Review of attachment 8853560 [details] [diff] [review]:
-----------------------------------------------------------------

Nice :) r=me
Attachment #8853560 - Flags: review?(emilio+bugs) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: