Chromium Code Reviews| Index: LayoutTests/svg/custom/script-tests/animation-values-parsing-error.js |
| diff --git a/LayoutTests/svg/custom/script-tests/animation-values-parsing-error.js b/LayoutTests/svg/custom/script-tests/animation-values-parsing-error.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0063eea70c27e4b40371b84483e6d08846d05ff6 |
| --- /dev/null |
| +++ b/LayoutTests/svg/custom/script-tests/animation-values-parsing-error.js |
| @@ -0,0 +1,12 @@ |
| +description("Tests parsing of values attribute."); |
| + |
| +var animate = document.createElementNS("http://www.w3.org/2000/svg", "animate"); |
| +animate.setAttribute("values", ";;"); |
| +animate.setAttribute("values", "300;255;180;30;;"); |
| +animate.setAttribute("values", "50%;foo;10%"); |
| +animate.setAttribute("values", "50%;;;;10%"); |
| +animate.setAttribute("values", "50%; ;10%"); |
| +animate.setAttribute("animationName", "in"); |
|
Erik Dahlström (inactive)
2014/10/06 07:33:53
should be "attributeName", not "animationName".
|
| +animate.setAttribute("values", ""); |
| + |
| +var successfullyParsed = true; |