stylo: Avoid traversing doomed NAC subtrees

RESOLVED FIXED

Status

()

Core
CSS Parsing and Computation
P1
normal
RESOLVED FIXED
11 months ago
11 months ago

People

(Reporter: bholley, Assigned: bholley)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

11 months ago
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
(Assignee)

Comment 1

11 months ago
Created attachment 8853560 [details] [diff] [review]
Introduce is_native_anonymous and cull style traversal of doomed native anonymous content. v1

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+
(Assignee)

Updated

11 months ago
Status: NEW → RESOLVED
Last Resolved: 11 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.