mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 775304 - Don't visit the descendant frames for the nsChangeHint_UpdateEffects hint. r=roc, r=dbaron.
--HG-- extra : rebase_source : 11996bd6194d62f98eba81d5e3a13d29eaacd62b
This commit is contained in:
parent
fb0d7755f0
commit
2e72406ef8
@ -112,6 +112,7 @@ enum nsChangeHint {
|
||||
*/
|
||||
nsChangeHint_NonInherited_Hints =
|
||||
nsChangeHint_UpdateTransformLayer |
|
||||
nsChangeHint_UpdateEffects |
|
||||
nsChangeHint_UpdateOpacityLayer |
|
||||
nsChangeHint_UpdateOverflow |
|
||||
nsChangeHint_ChildrenOnlyTransform |
|
||||
|
@ -316,7 +316,7 @@ struct nsStyleBackground {
|
||||
#ifdef DEBUG
|
||||
static nsChangeHint MaxDifference();
|
||||
#endif
|
||||
static bool ForceCompare() { return false; }
|
||||
static bool ForceCompare() { return true; }
|
||||
|
||||
struct Position;
|
||||
friend struct Position;
|
||||
@ -2158,7 +2158,7 @@ struct nsStyleSVG {
|
||||
#ifdef DEBUG
|
||||
static nsChangeHint MaxDifference();
|
||||
#endif
|
||||
static bool ForceCompare() { return false; }
|
||||
static bool ForceCompare() { return true; }
|
||||
|
||||
nsStyleSVGPaint mFill; // [inherited]
|
||||
nsStyleSVGPaint mStroke; // [inherited]
|
||||
@ -2204,7 +2204,7 @@ struct nsStyleSVGReset {
|
||||
#ifdef DEBUG
|
||||
static nsChangeHint MaxDifference();
|
||||
#endif
|
||||
static bool ForceCompare() { return false; }
|
||||
static bool ForceCompare() { return true; }
|
||||
|
||||
nsCOMPtr<nsIURI> mClipPath; // [reset]
|
||||
nsCOMPtr<nsIURI> mFilter; // [reset]
|
||||
|
@ -473,14 +473,6 @@ nsSVGEffects::UpdateEffects(nsIFrame *aFrame)
|
||||
GetEffectProperty(style->mMarkerEnd, aFrame, MarkerEndProperty(),
|
||||
CreateMarkerProperty);
|
||||
}
|
||||
|
||||
nsIFrame *kid = aFrame->GetFirstPrincipalChild();
|
||||
while (kid) {
|
||||
if (kid->GetContent()->IsElement()) {
|
||||
UpdateEffects(kid);
|
||||
}
|
||||
kid = kid->GetNextSibling();
|
||||
}
|
||||
}
|
||||
|
||||
nsSVGFilterProperty *
|
||||
|
Loading…
Reference in New Issue
Block a user