Index: LayoutTests/svg/css/parse-length-expected.txt |
diff --git a/LayoutTests/svg/css/parse-length-expected.txt b/LayoutTests/svg/css/parse-length-expected.txt |
index 6686f4f9c26339c1fec9ba8bf6d4ba2722195fdc..f437b9769d2558dd87237e655f138f60376655b4 100644 |
--- a/LayoutTests/svg/css/parse-length-expected.txt |
+++ b/LayoutTests/svg/css/parse-length-expected.txt |
@@ -8,6 +8,18 @@ CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100 px" |
CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100px;" |
CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100px !important" |
CONSOLE ERROR: Error: Invalid value for <rect> attribute y="{ 100px }" |
+CONSOLE ERROR: Error: Invalid negative value for <rect> attribute rx="-200px" |
+CONSOLE ERROR: Error: Invalid negative value for <rect> attribute ry="-200px" |
+CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="auto" |
+CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="100 px" |
+CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="100px;" |
+CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="100px !important" |
+CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="{ 100px }" |
+CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="auto" |
+CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="100 px" |
+CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="100px;" |
+CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="100px !important" |
+CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="{ 100px }" |
Test that 'length' presentation attribute values are parsed with CSS presentation rules. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
@@ -35,6 +47,28 @@ PASS computedStyle("y", "100 px") is "0px" |
PASS computedStyle("y", "100px;") is "0px" |
PASS computedStyle("y", "100px !important") is "0px" |
PASS computedStyle("y", "{ 100px }") is "0px" |
+PASS computedStyle("rx", " 100") is "100px" |
+PASS computedStyle("rx", "100 ") is "100px" |
+PASS computedStyle("rx", "100px") is "100px" |
+PASS computedStyle("rx", "1em") is "16px" |
+PASS computedStyle("rx", "20%") is "20%" |
+PASS computedStyle("rx", "-200px") is "-200px" |
+PASS computedStyle("ry", " 100") is "100px" |
+PASS computedStyle("ry", "100 ") is "100px" |
+PASS computedStyle("ry", "100px") is "100px" |
+PASS computedStyle("ry", "1em") is "16px" |
+PASS computedStyle("ry", "20%") is "20%" |
+PASS computedStyle("ry", "-200px") is "-200px" |
+PASS computedStyle("rx", "auto") is "0px" |
+PASS computedStyle("rx", "100 px") is "0px" |
+PASS computedStyle("rx", "100px;") is "0px" |
+PASS computedStyle("rx", "100px !important") is "0px" |
+PASS computedStyle("rx", "{ 100px }") is "0px" |
+PASS computedStyle("ry", "auto") is "0px" |
+PASS computedStyle("ry", "100 px") is "0px" |
+PASS computedStyle("ry", "100px;") is "0px" |
+PASS computedStyle("ry", "100px !important") is "0px" |
+PASS computedStyle("ry", "{ 100px }") is "0px" |
PASS successfullyParsed is true |
TEST COMPLETE |