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

Unified Diff: LayoutTests/svg/dom/path-parser-expected.txt

Issue 380213002: An empty SVG path string is not in error (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TestExpectations. Created 6 years, 5 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
« no previous file with comments | « LayoutTests/svg/dom/fuzz-path-parser-expected.txt ('k') | LayoutTests/svg/dom/script-tests/path-parser.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/path-parser-expected.txt
diff --git a/LayoutTests/svg/dom/path-parser-expected.txt b/LayoutTests/svg/dom/path-parser-expected.txt
index 6ba2d61f42d1e8f54f0754376d642d06cb6f3d91..b627bfa772784b929e7387ba5b0c8dc533d92385 100644
--- a/LayoutTests/svg/dom/path-parser-expected.txt
+++ b/LayoutTests/svg/dom/path-parser-expected.txt
@@ -5,7 +5,6 @@ CONSOLE ERROR: Error: Invalid value for <path> attribute d="xM1,2"
CONSOLE ERROR: Error: Invalid value for <path> attribute d="M1,2 "
CONSOLE ERROR: Error: Invalid value for <path> attribute d="M1,2x"
CONSOLE ERROR: Error: Invalid value for <path> attribute d="M1,2 L40,0#90"
-CONSOLE ERROR: Error: Invalid value for <path> attribute d=""
CONSOLE ERROR: Error: Invalid value for <path> attribute d="x"
CONSOLE ERROR: Error: Invalid value for <path> attribute d="L1,2"
This tests the SVG path parser by parsing and then re-serializing various paths.
@@ -66,6 +65,7 @@ PASS parsePath('M1,2\v') is 'M1,2'
PASS parsePath('M1,2x') is 'M1,2'
PASS parsePath('M1,2 L40,0#90') is 'M1,2 L40,0'
PASS parsePath('') is ''
+PASS parsePath(' ') is ''
PASS parsePath('x') is ''
PASS parsePath('L1,2') is ''
PASS parsePath('M.1 .2 L.3 .4 .5 .6') is 'M0.1,0.2 L0.3,0.4 L0.5,0.6'
« no previous file with comments | « LayoutTests/svg/dom/fuzz-path-parser-expected.txt ('k') | LayoutTests/svg/dom/script-tests/path-parser.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698