mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1047928 patch 13 - Don't rerun selector matching for changes to zoom, min font size, or app units per dev pixel. r=bzbarsky
This commit is contained in:
parent
6daa770cd0
commit
45cbecc713
@ -847,7 +847,7 @@ nsPresContext::AppUnitsPerDevPixelChanged()
|
||||
|
||||
if (HasCachedStyleData()) {
|
||||
// All cached style data must be recomputed.
|
||||
MediaFeatureValuesChanged(eRestyle_Subtree, NS_STYLE_HINT_REFLOW);
|
||||
MediaFeatureValuesChanged(eRestyle_ForceDescendants, NS_STYLE_HINT_REFLOW);
|
||||
}
|
||||
|
||||
mCurAppUnitsPerDevPixel = AppUnitsPerDevPixel();
|
||||
|
@ -549,7 +549,8 @@ public:
|
||||
if (HasCachedStyleData()) {
|
||||
// Media queries could have changed, since we changed the meaning
|
||||
// of 'em' units in them.
|
||||
MediaFeatureValuesChanged(eRestyle_Subtree, NS_STYLE_HINT_REFLOW);
|
||||
MediaFeatureValuesChanged(eRestyle_ForceDescendants,
|
||||
NS_STYLE_HINT_REFLOW);
|
||||
}
|
||||
}
|
||||
|
||||
@ -584,7 +585,8 @@ public:
|
||||
if (HasCachedStyleData()) {
|
||||
// Media queries could have changed, since we changed the meaning
|
||||
// of 'em' units in them.
|
||||
MediaFeatureValuesChanged(eRestyle_Subtree, NS_STYLE_HINT_REFLOW);
|
||||
MediaFeatureValuesChanged(eRestyle_ForceDescendants,
|
||||
NS_STYLE_HINT_REFLOW);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user