Closed Bug 1322568 Opened 8 years ago Closed 8 years ago

stylo: disable style context tree verifications

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: heycam, Assigned: heycam)

References

Details

Attachments

(1 file)

We know that we sometimes inherit styles differently from stock Gecko, particularly around anonymous boxes. We should disable the style context tree structure verification assertions, at least for now.
Attached patch patch (deleted) — Splinter Review
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #8817516 - Flags: review?(xidorn+moz)
Blocks: 1322570
Attachment #8817516 - Attachment is patch: true
As a record, I discussed with heycam offline, and I think it is usually harder to enable something after we disable it, especially this kind of debug-only things. I suggest that we should probably investigate more detailedly which assertions could be broken with stylo, and evaluate based on that whether we should disable the whole DebugVerifyStyleTree, conditionally disable it in some conditions, or just fix assertions show up.
Comment on attachment 8817516 [details] [diff] [review] patch So cancel r? for now.
Attachment #8817516 - Flags: review?(xidorn+moz)
Blocks: 1323680
Blocks: 1324660
Blocks: 1324663
We're hitting these assertions all over the place, so this is probably a good thing for Boris to look at.
Flags: needinfo?(bzbarsky)
At this point these assertions are more noise than anything, given that the style context tree structure is far less important with stylo (as we use don't use the structure for property inheritance).
Attachment #8817516 - Flags: review?(bobbyholley)
Moving the needinfo to bug 1322570.
Flags: needinfo?(bzbarsky)
Comment on attachment 8817516 [details] [diff] [review] patch Review of attachment 8817516 [details] [diff] [review]: ----------------------------------------------------------------- ::: layout/base/RestyleManagerBase.cpp @@ +379,5 @@ > RestyleManagerBase::DebugVerifyStyleTree(nsIFrame* aFrame) > { > + if (IsServo()) { > + // XXXheycam For now, we know that we don't use the same inheritance > + // hierarchy for certain cases, so just skip these assertions. Please reference the bug for potentially re-enabling them if they make sense.
Attachment #8817516 - Flags: review?(bobbyholley) → review+
Pushed by cmccormack@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a365beac4010 Disable style context tree structure verification assertions in stylo. r=bholley
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: