Open
Bug 1045863
Opened 10 years ago
Updated 2 years ago
try to combine two branches in nsStyleContext::CalcStyleDifference
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: heycam, Unassigned)
References
(Blocks 1 open bug)
Details
After bug 931668 lands, we should try to combine these two branches inside the macro in nsStyleContext::CalcStyleDifference: } else if (compare || (NS_SubtractHint(maxDifference, maxDifferenceNeverInherited) & aParentHintsNotHandledForDescendants)) { ... } else { /* We still must call CalcDifference to see if there were any */ /* changes so that we can set *aEqualStructs appropriately. */ ... } We should just be able to call CalcDifference on each struct and not try to optimise things by checking |compare| and maxDifference and aParentHintsNotHandledForDescendants. Doing so currently results in test failures though.
Reporter | ||
Comment 1•10 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=931668#c80
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•