mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 655877 - Part 11b: Use the right hints when reflowing due to dominant-baseline change. r=jwatt
This commit is contained in:
parent
3c9939ceca
commit
a867cdc272
@ -1009,8 +1009,7 @@ nsChangeHint nsStyleSVGReset::CalcDifference(const nsStyleSVGReset& aOther) cons
|
||||
NS_UpdateHint(hint, nsChangeHint_AllReflowHints);
|
||||
NS_UpdateHint(hint, nsChangeHint_RepaintFrame);
|
||||
} else if (mDominantBaseline != aOther.mDominantBaseline) {
|
||||
NS_UpdateHint(hint, nsChangeHint_NeedReflow);
|
||||
NS_UpdateHint(hint, nsChangeHint_NeedDirtyReflow);
|
||||
NS_UpdateHint(hint, NS_STYLE_HINT_REFLOW);
|
||||
} else if (mStopColor != aOther.mStopColor ||
|
||||
mFloodColor != aOther.mFloodColor ||
|
||||
mLightingColor != aOther.mLightingColor ||
|
||||
|
@ -2266,9 +2266,7 @@ struct nsStyleSVGReset {
|
||||
|
||||
nsChangeHint CalcDifference(const nsStyleSVGReset& aOther) const;
|
||||
static nsChangeHint MaxDifference() {
|
||||
return NS_CombineHint(NS_CombineHint(nsChangeHint_UpdateEffects,
|
||||
nsChangeHint_AllReflowHints),
|
||||
nsChangeHint_RepaintFrame);
|
||||
return NS_CombineHint(nsChangeHint_UpdateEffects, NS_STYLE_HINT_REFLOW);
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIURI> mClipPath; // [reset]
|
||||
|
Loading…
Reference in New Issue
Block a user