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

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

Issue 539383002: Handle semicolons at end of keySplines value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix nits 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/keySplines-parsing-error.js
diff --git a/LayoutTests/svg/custom/script-tests/keySplines-parsing-error.js b/LayoutTests/svg/custom/script-tests/keySplines-parsing-error.js
new file mode 100644
index 0000000000000000000000000000000000000000..2ba3ba8995f716e205842a70e38694e80d670bba
--- /dev/null
+++ b/LayoutTests/svg/custom/script-tests/keySplines-parsing-error.js
@@ -0,0 +1,7 @@
+description("Tests parsing of keySplines attribute.");
+
+var animate = document.createElementNS("http://www.w3.org/2000/svg", "animate");
+animate.setAttribute("keySplines", ";;");
+animate.setAttribute("keySplines", "0 ,0 1 , 1 ;;");
+
+var successfullyParsed = true;
« no previous file with comments | « LayoutTests/svg/custom/keySplines-parsing-error-expected.txt ('k') | Source/core/svg/SVGAnimationElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698