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' |