Closed Bug 1392863 Opened 7 years ago Closed 7 years ago

stylo: followup fixes for restyle roots

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: bholley, Assigned: bholley)

References

Details

Attachments

(4 files)

Followups from bug 1383332.
MozReview-Commit-ID: 4JhWFNPVvGn
Attachment #8901026 - Flags: review?(emilio+bugs)
MozReview-Commit-ID: 8rs1mNHMJua
Attachment #8901027 - Flags: review?(emilio+bugs)
MozReview-Commit-ID: HQm3wtBtWqT
Attachment #8901028 - Flags: review?(emilio+bugs)
Attachment #8901026 - Flags: review?(emilio+bugs) → review+
Attachment #8901027 - Flags: review?(emilio+bugs) → review+
Comment on attachment 8901028 [details] [diff] [review] Part 3 - Clean up bit clearing. v1 Review of attachment 8901028 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/base/Element.cpp @@ +4155,5 @@ > // places where an element's flattened tree parent changes, and such a change > // may also make an element invalid to be used as a restyle root. > + // > + // Note that we need to null-check aDoc, which may be null in some situations > + // when invoked from UnbindFromTree. Can we assert that we have no data in that case?
Attachment #8901028 - Flags: review?(emilio+bugs) → review+
I'd been trying different configurations on improving this but kept hitting tricky crashtests. I _think_ this one should finally work. MozReview-Commit-ID: GyU2gzp0CaA
Attachment #8901381 - Flags: review+
Pushed by bholley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3386f7cad63b Clean up DoProcessPendingRestyles. r=emilio https://hg.mozilla.org/integration/autoland/rev/0f8488704d7e Eliminate PropagateBitsFromParent. r=emilio https://hg.mozilla.org/integration/autoland/rev/73455899709b Clean up bit clearing. r=emilio https://hg.mozilla.org/integration/autoland/rev/71e41a3207c8 Avoid calling ClearServoData with a null document. r=emilio
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: