Closed
Bug 1340717
Opened 8 years ago
Closed 8 years ago
stylo: figure out whether we can optimize the change hint for table frames better
Categories
(Core :: CSS Parsing and Computation, defect, P4)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox54 | --- | affected |
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 1 open bug)
Details
Right now we pass the same change hint for both the table wrapper and the table. It's not clear whether we can, or should, do better for the latter by excluding things the parent will handle. Just passing NS_HintsNotHandledForDescendantsIn(changeHint) is NOT right, because that can produce invalid hints that fail this assert in nsStyleChangeList::AppendChange:
MOZ_ASSERT(!(aHint & nsChangeHint_AllReflowHints) ||
(aHint & nsChangeHint_NeedReflow),
"Reflow hint bits set without actually asking for a reflow");
(because it will copy some reflow bits, but doesn't seem to copy NeedReflow?).
Cameron, do you have time to look at this? I can do it, but will be a bit slow; we've grown a lot of changehint complexity since I last looked at it.
Flags: needinfo?(cam)
Comment 1•8 years ago
|
||
I wonder if NS_RemoveSubsumedHints in the bug 1301258 patches does the right thing?
Flags: needinfo?(cam)
![]() |
Reporter | |
Comment 3•8 years ago
|
||
Note that in bug 1340723 I'm going to move this stuff to a somewhat different setup which might effectively make this bug moot.
![]() |
Reporter | |
Comment 5•8 years ago
|
||
I think so, yes.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(bzbarsky)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•