mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 974710 - Stop incorrectly reporting errors with values attribute on the animateMotion element. r=dholbert
This commit is contained in:
parent
434d722551
commit
94c55edbc0
@ -72,15 +72,18 @@ SVGMotionSMILAnimationFunction::SetAttr(nsIAtom* aAttribute,
|
||||
}
|
||||
} else if (aAttribute == nsGkAtoms::path) {
|
||||
aResult.SetTo(aValue);
|
||||
MarkStaleIfAttributeAffectsPath(aAttribute);
|
||||
if (aParseResult) {
|
||||
*aParseResult = NS_OK;
|
||||
}
|
||||
MarkStaleIfAttributeAffectsPath(aAttribute);
|
||||
} else if (aAttribute == nsGkAtoms::by ||
|
||||
aAttribute == nsGkAtoms::from ||
|
||||
aAttribute == nsGkAtoms::to ||
|
||||
aAttribute == nsGkAtoms::values) {
|
||||
MarkStaleIfAttributeAffectsPath(aAttribute);
|
||||
if (aParseResult) {
|
||||
*aParseResult = NS_OK;
|
||||
}
|
||||
} else {
|
||||
// Defer to superclass method
|
||||
return nsSMILAnimationFunction::SetAttr(aAttribute, aValue,
|
||||
|
Loading…
Reference in New Issue
Block a user