Closed Bug 1229424 Opened 6 years ago Closed 6 years ago
Difference() returned bigger hint than Max Difference()"
###!!! ASSERTION: CalcDifference() returned bigger hint than MaxDifference(): 'NS_IsHintSubset(difference, maxDifference)', file layout/style/nsStyleContext.cpp, line 923 This is a regression from within the last few days. I suspect bug 1040668, since its patch affects text-related CSS properties and special-cases 'zh'.
This is because I forgot to add UpdateOverflow to MaxDifference() in bug 1040668 patch 1. This specific assertion will be fixed in bug 1225018. There is one similiar assertion for text-emphasis-style which will be fixed in bug 1229278.
(Removed bug 1040668 from "Blocks" because of cyclic dependency)
The changeset that failed to update nsStyleText::MaxDifference was https://hg.mozilla.org/mozilla-central/rev/d57862a8ffca -- but as we discussed elsewhere yesterday, I think it should be using UpdateSubtreeOverflow rather than UpdateOverflow.
This should have been fixed by bug 1225018.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.