Closed
Bug 1322568
Opened 8 years ago
Closed 8 years ago
stylo: disable style context tree verifications
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: heycam, Assigned: heycam)
References
Details
Attachments
(1 file)
(deleted),
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Attachment #8817516 -
Attachment is patch: true
Comment 2•8 years ago
|
||
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 3•8 years ago
|
||
Comment on attachment 8817516 [details] [diff] [review]
patch
So cancel r? for now.
Attachment #8817516 -
Flags: review?(xidorn+moz)
Comment 4•8 years ago
|
||
We're hitting these assertions all over the place, so this is probably a good thing for Boris to look at.
Flags: needinfo?(bzbarsky)
Assignee | ||
Comment 5•8 years ago
|
||
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).
Assignee | ||
Updated•8 years ago
|
Attachment #8817516 -
Flags: review?(bobbyholley)
Comment 7•8 years ago
|
||
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
Pushed by cmccormack@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3cc0791a7aad
Followup bustage fix on a CLOSED TREE.
Comment 10•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a365beac4010
https://hg.mozilla.org/mozilla-central/rev/3cc0791a7aad
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•