mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 817395 - Clean up the temporary style context used for font size comparision of the root before the rule node tree is rebuilt. r=dbaron
This commit is contained in:
parent
79bae38133
commit
2519fe8873
@ -8430,6 +8430,7 @@ nsCSSFrameConstructor::RestyleElement(Element *aElement,
|
||||
if (oldContext->GetStyleFont()->mFont.size !=
|
||||
newContext->GetStyleFont()->mFont.size) {
|
||||
// The basis for 'rem' units has changed.
|
||||
newContext = nullptr;
|
||||
DoRebuildAllStyleData(aRestyleTracker, nsChangeHint(0));
|
||||
if (aMinHint == 0) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user