Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: LayoutTests/svg/custom/script-tests/animation-values-parsing-error.js

Issue 584053002: Handle semicolons at end of keyTimes and values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..0b567860821c3cb1c84f3bffd8e9a3013bbb314b
--- /dev/null
+++ b/LayoutTests/svg/custom/script-tests/animation-values-parsing-error.js
@@ -0,0 +1,7 @@
+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;;");
+
+var successfullyParsed = true;

Powered by Google App Engine
This is Rietveld 408576698