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

Side by Side 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: add tests 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 unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="auto" 1 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="auto"
2 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100 px" 2 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100 px"
3 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100px;" 3 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100px;"
4 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100px !important" 4 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100px !important"
5 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="{ 100px }" 5 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="{ 100px }"
6 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="auto" 6 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="auto"
7 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100 px" 7 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100 px"
8 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100px;" 8 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100px;"
9 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100px !important" 9 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100px !important"
10 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="{ 100px }" 10 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="{ 100px }"
11 CONSOLE ERROR: Error: Invalid negative value for <rect> attribute rx="-200px"
12 CONSOLE ERROR: Error: Invalid negative value for <rect> attribute ry="-200px"
13 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="auto"
14 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="100 px"
15 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="100px;"
16 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="100px !important"
17 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="{ 100px }"
18 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="auto"
19 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="100 px"
20 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="100px;"
21 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="100px !important"
22 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="{ 100px }"
11 Test that 'length' presentation attribute values are parsed with CSS presentatio n rules. 23 Test that 'length' presentation attribute values are parsed with CSS presentatio n rules.
12 24
13 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 25 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
14 26
15 27
16 PASS computedStyle("x", " 100") is "100px" 28 PASS computedStyle("x", " 100") is "100px"
17 PASS computedStyle("x", "100 ") is "100px" 29 PASS computedStyle("x", "100 ") is "100px"
18 PASS computedStyle("x", "100px") is "100px" 30 PASS computedStyle("x", "100px") is "100px"
19 PASS computedStyle("x", "1em") is "16px" 31 PASS computedStyle("x", "1em") is "16px"
20 PASS computedStyle("x", "20%") is "20%" 32 PASS computedStyle("x", "20%") is "20%"
21 PASS computedStyle("x", "-200px") is "-200px" 33 PASS computedStyle("x", "-200px") is "-200px"
22 PASS computedStyle("y", " 100") is "100px" 34 PASS computedStyle("y", " 100") is "100px"
23 PASS computedStyle("y", "100 ") is "100px" 35 PASS computedStyle("y", "100 ") is "100px"
24 PASS computedStyle("y", "100px") is "100px" 36 PASS computedStyle("y", "100px") is "100px"
25 PASS computedStyle("y", "1em") is "16px" 37 PASS computedStyle("y", "1em") is "16px"
26 PASS computedStyle("y", "20%") is "20%" 38 PASS computedStyle("y", "20%") is "20%"
27 PASS computedStyle("y", "-200px") is "-200px" 39 PASS computedStyle("y", "-200px") is "-200px"
28 PASS computedStyle("x", "auto") is "0px" 40 PASS computedStyle("x", "auto") is "0px"
29 PASS computedStyle("x", "100 px") is "0px" 41 PASS computedStyle("x", "100 px") is "0px"
30 PASS computedStyle("x", "100px;") is "0px" 42 PASS computedStyle("x", "100px;") is "0px"
31 PASS computedStyle("x", "100px !important") is "0px" 43 PASS computedStyle("x", "100px !important") is "0px"
32 PASS computedStyle("x", "{ 100px }") is "0px" 44 PASS computedStyle("x", "{ 100px }") is "0px"
33 PASS computedStyle("y", "auto") is "0px" 45 PASS computedStyle("y", "auto") is "0px"
34 PASS computedStyle("y", "100 px") is "0px" 46 PASS computedStyle("y", "100 px") is "0px"
35 PASS computedStyle("y", "100px;") is "0px" 47 PASS computedStyle("y", "100px;") is "0px"
36 PASS computedStyle("y", "100px !important") is "0px" 48 PASS computedStyle("y", "100px !important") is "0px"
37 PASS computedStyle("y", "{ 100px }") is "0px" 49 PASS computedStyle("y", "{ 100px }") is "0px"
50 PASS computedStyle("rx", " 100") is "100px"
51 PASS computedStyle("rx", "100 ") is "100px"
52 PASS computedStyle("rx", "100px") is "100px"
53 PASS computedStyle("rx", "1em") is "16px"
54 PASS computedStyle("rx", "20%") is "20%"
55 PASS computedStyle("rx", "-200px") is "-200px"
56 PASS computedStyle("ry", " 100") is "100px"
57 PASS computedStyle("ry", "100 ") is "100px"
58 PASS computedStyle("ry", "100px") is "100px"
59 PASS computedStyle("ry", "1em") is "16px"
60 PASS computedStyle("ry", "20%") is "20%"
61 PASS computedStyle("ry", "-200px") is "-200px"
62 PASS computedStyle("rx", "auto") is "0px"
63 PASS computedStyle("rx", "100 px") is "0px"
64 PASS computedStyle("rx", "100px;") is "0px"
65 PASS computedStyle("rx", "100px !important") is "0px"
66 PASS computedStyle("rx", "{ 100px }") is "0px"
67 PASS computedStyle("ry", "auto") is "0px"
68 PASS computedStyle("ry", "100 px") is "0px"
69 PASS computedStyle("ry", "100px;") is "0px"
70 PASS computedStyle("ry", "100px !important") is "0px"
71 PASS computedStyle("ry", "{ 100px }") is "0px"
38 PASS successfullyParsed is true 72 PASS successfullyParsed is true
39 73
40 TEST COMPLETE 74 TEST COMPLETE
41 75
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698