Bug 898915 - Fix Axis() is not valid abort. r=dholbert

This commit is contained in:
Robert Longson 2013-08-07 17:59:08 +01:00
parent b999e9f332
commit 4880610010
3 changed files with 6 additions and 6 deletions

View File

@ -93,12 +93,6 @@ SVGLengthListSMILType::Add(nsSMILValue& aDest,
// should be, not zeros, and those values are not explicit or otherwise
// available.
if (dest.IsEmpty() && valueToAdd.IsEmpty()) {
// Adding two identity values, no-op. This occurs when performing a
// discrete by-animation on an attribute with no specified base value.
return NS_OK;
}
if (!valueToAdd.Element()) { // Adding identity value - no-op
NS_ABORT_IF_FALSE(valueToAdd.IsEmpty(),
"Identity values should be empty");

View File

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg">
<text>
<animate attributeName="y" by="" />
</text>
</svg>

After

Width:  |  Height:  |  Size: 107 B

View File

@ -71,3 +71,4 @@ load 880544-2.svg
load 880544-3.svg
load 880544-4.svg
load 880544-5.svg
load 898915-1.svg