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

Unified Diff: LayoutTests/svg/css/parse-length-expected.txt

Issue 955033002: [svg2] Make 'rx' and 'ry' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review fixes Created 5 years, 10 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/css/parse-length.html ('k') | LayoutTests/transitions/svg-layout-transition.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « LayoutTests/svg/css/parse-length.html ('k') | LayoutTests/transitions/svg-layout-transition.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698