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

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

Issue 980233002: [svg2] Make 'cx', 'cy' and 'r' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 9 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 <mask> attribute x="auto"
2 CONSOLE ERROR: Error: Invalid value for <mask> attribute x="100 px"
3 CONSOLE ERROR: Error: Invalid value for <mask> attribute x="100px;"
4 CONSOLE ERROR: Error: Invalid value for <mask> attribute x="100px !important"
5 CONSOLE ERROR: Error: Invalid value for <mask> attribute x="{ 100px }"
6 CONSOLE ERROR: Error: Invalid value for <mask> attribute y="auto"
7 CONSOLE ERROR: Error: Invalid value for <mask> attribute y="100 px"
8 CONSOLE ERROR: Error: Invalid value for <mask> attribute y="100px;"
9 CONSOLE ERROR: Error: Invalid value for <mask> attribute y="100px !important"
10 CONSOLE ERROR: Error: Invalid value for <mask> attribute y="{ 100px }"
11 CONSOLE ERROR: Error: Invalid value for <svg> attribute x="auto"
12 CONSOLE ERROR: Error: Invalid value for <svg> attribute x="100 px"
13 CONSOLE ERROR: Error: Invalid value for <svg> attribute x="100px;"
14 CONSOLE ERROR: Error: Invalid value for <svg> attribute x="100px !important"
15 CONSOLE ERROR: Error: Invalid value for <svg> attribute x="{ 100px }"
16 CONSOLE ERROR: Error: Invalid value for <svg> attribute y="auto"
17 CONSOLE ERROR: Error: Invalid value for <svg> attribute y="100 px"
18 CONSOLE ERROR: Error: Invalid value for <svg> attribute y="100px;"
19 CONSOLE ERROR: Error: Invalid value for <svg> attribute y="100px !important"
20 CONSOLE ERROR: Error: Invalid value for <svg> attribute y="{ 100px }"
1 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="auto" 21 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="auto"
2 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100 px" 22 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100 px"
3 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100px;" 23 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100px;"
4 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100px !important" 24 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100px !important"
5 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="{ 100px }" 25 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="{ 100px }"
6 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="auto" 26 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="auto"
7 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100 px" 27 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100 px"
8 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100px;" 28 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100px;"
9 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100px !important" 29 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100px !important"
10 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="{ 100px }" 30 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="{ 100px }"
31 CONSOLE ERROR: Error: Invalid value for <image> attribute x="auto"
32 CONSOLE ERROR: Error: Invalid value for <image> attribute x="100 px"
33 CONSOLE ERROR: Error: Invalid value for <image> attribute x="100px;"
34 CONSOLE ERROR: Error: Invalid value for <image> attribute x="100px !important"
35 CONSOLE ERROR: Error: Invalid value for <image> attribute x="{ 100px }"
36 CONSOLE ERROR: Error: Invalid value for <image> attribute y="auto"
37 CONSOLE ERROR: Error: Invalid value for <image> attribute y="100 px"
38 CONSOLE ERROR: Error: Invalid value for <image> attribute y="100px;"
39 CONSOLE ERROR: Error: Invalid value for <image> attribute y="100px !important"
40 CONSOLE ERROR: Error: Invalid value for <image> attribute y="{ 100px }"
41 CONSOLE ERROR: Error: Invalid value for <foreignObject> attribute x="auto"
42 CONSOLE ERROR: Error: Invalid value for <foreignObject> attribute x="100 px"
43 CONSOLE ERROR: Error: Invalid value for <foreignObject> attribute x="100px;"
44 CONSOLE ERROR: Error: Invalid value for <foreignObject> attribute x="100px !impo rtant"
45 CONSOLE ERROR: Error: Invalid value for <foreignObject> attribute x="{ 100px }"
46 CONSOLE ERROR: Error: Invalid value for <foreignObject> attribute y="auto"
47 CONSOLE ERROR: Error: Invalid value for <foreignObject> attribute y="100 px"
48 CONSOLE ERROR: Error: Invalid value for <foreignObject> attribute y="100px;"
49 CONSOLE ERROR: Error: Invalid value for <foreignObject> attribute y="100px !impo rtant"
50 CONSOLE ERROR: Error: Invalid value for <foreignObject> attribute y="{ 100px }"
11 CONSOLE ERROR: Error: Invalid negative value for <rect> attribute rx="-200px" 51 CONSOLE ERROR: Error: Invalid negative value for <rect> attribute rx="-200px"
12 CONSOLE ERROR: Error: Invalid negative value for <rect> attribute ry="-200px" 52 CONSOLE ERROR: Error: Invalid negative value for <rect> attribute ry="-200px"
13 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="auto" 53 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="auto"
14 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="100 px" 54 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="100 px"
15 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="100px;" 55 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="100px;"
16 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="100px !important" 56 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="100px !important"
17 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="{ 100px }" 57 CONSOLE ERROR: Error: Invalid value for <rect> attribute rx="{ 100px }"
18 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="auto" 58 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="auto"
19 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="100 px" 59 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="100 px"
20 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="100px;" 60 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="100px;"
21 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="100px !important" 61 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="100px !important"
22 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="{ 100px }" 62 CONSOLE ERROR: Error: Invalid value for <rect> attribute ry="{ 100px }"
63 CONSOLE ERROR: Error: Invalid negative value for <ellipse> attribute rx="-200px"
64 CONSOLE ERROR: Error: Invalid negative value for <ellipse> attribute ry="-200px"
65 CONSOLE ERROR: Error: Invalid value for <ellipse> attribute rx="auto"
66 CONSOLE ERROR: Error: Invalid value for <ellipse> attribute rx="100 px"
67 CONSOLE ERROR: Error: Invalid value for <ellipse> attribute rx="100px;"
68 CONSOLE ERROR: Error: Invalid value for <ellipse> attribute rx="100px !important "
69 CONSOLE ERROR: Error: Invalid value for <ellipse> attribute rx="{ 100px }"
70 CONSOLE ERROR: Error: Invalid value for <ellipse> attribute ry="auto"
71 CONSOLE ERROR: Error: Invalid value for <ellipse> attribute ry="100 px"
72 CONSOLE ERROR: Error: Invalid value for <ellipse> attribute ry="100px;"
73 CONSOLE ERROR: Error: Invalid value for <ellipse> attribute ry="100px !important "
74 CONSOLE ERROR: Error: Invalid value for <ellipse> attribute ry="{ 100px }"
75 CONSOLE ERROR: Error: Invalid negative value for <circle> attribute r="-200px"
76 CONSOLE ERROR: Error: Invalid value for <circle> attribute r="auto"
77 CONSOLE ERROR: Error: Invalid value for <circle> attribute r="100 px"
78 CONSOLE ERROR: Error: Invalid value for <circle> attribute r="100px;"
79 CONSOLE ERROR: Error: Invalid value for <circle> attribute r="100px !important"
80 CONSOLE ERROR: Error: Invalid value for <circle> attribute r="{ 100px }"
23 Test that 'length' presentation attribute values are parsed with CSS presentatio n rules. 81 Test that 'length' presentation attribute values are parsed with CSS presentatio n rules.
24 82
25 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 83 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
26 84
27 85
28 PASS computedStyle("x", " 100") is "100px" 86 PASS computedStyle("mask", "x", " 100") is "100px"
29 PASS computedStyle("x", "100 ") is "100px" 87 PASS computedStyle("mask", "x", "100 ") is "100px"
30 PASS computedStyle("x", "100px") is "100px" 88 PASS computedStyle("mask", "x", "100px") is "100px"
31 PASS computedStyle("x", "1em") is "16px" 89 PASS computedStyle("mask", "x", "1em") is "16px"
32 PASS computedStyle("x", "20%") is "20%" 90 PASS computedStyle("mask", "x", "20%") is "20%"
33 PASS computedStyle("x", "-200px") is "-200px" 91 PASS computedStyle("mask", "x", "-200px") is "-200px"
34 PASS computedStyle("y", " 100") is "100px" 92 PASS computedStyle("mask", "y", " 100") is "100px"
35 PASS computedStyle("y", "100 ") is "100px" 93 PASS computedStyle("mask", "y", "100 ") is "100px"
36 PASS computedStyle("y", "100px") is "100px" 94 PASS computedStyle("mask", "y", "100px") is "100px"
37 PASS computedStyle("y", "1em") is "16px" 95 PASS computedStyle("mask", "y", "1em") is "16px"
38 PASS computedStyle("y", "20%") is "20%" 96 PASS computedStyle("mask", "y", "20%") is "20%"
39 PASS computedStyle("y", "-200px") is "-200px" 97 PASS computedStyle("mask", "y", "-200px") is "-200px"
40 PASS computedStyle("x", "auto") is "0px" 98 PASS computedStyle("mask", "x", "auto") is "0px"
41 PASS computedStyle("x", "100 px") is "0px" 99 PASS computedStyle("mask", "x", "100 px") is "0px"
42 PASS computedStyle("x", "100px;") is "0px" 100 PASS computedStyle("mask", "x", "100px;") is "0px"
43 PASS computedStyle("x", "100px !important") is "0px" 101 PASS computedStyle("mask", "x", "100px !important") is "0px"
44 PASS computedStyle("x", "{ 100px }") is "0px" 102 PASS computedStyle("mask", "x", "{ 100px }") is "0px"
45 PASS computedStyle("y", "auto") is "0px" 103 PASS computedStyle("mask", "y", "auto") is "0px"
46 PASS computedStyle("y", "100 px") is "0px" 104 PASS computedStyle("mask", "y", "100 px") is "0px"
47 PASS computedStyle("y", "100px;") is "0px" 105 PASS computedStyle("mask", "y", "100px;") is "0px"
48 PASS computedStyle("y", "100px !important") is "0px" 106 PASS computedStyle("mask", "y", "100px !important") is "0px"
49 PASS computedStyle("y", "{ 100px }") is "0px" 107 PASS computedStyle("mask", "y", "{ 100px }") is "0px"
50 PASS computedStyle("rx", " 100") is "100px" 108 PASS computedStyle("svg", "x", " 100") is "100px"
51 PASS computedStyle("rx", "100 ") is "100px" 109 PASS computedStyle("svg", "x", "100 ") is "100px"
52 PASS computedStyle("rx", "100px") is "100px" 110 PASS computedStyle("svg", "x", "100px") is "100px"
53 PASS computedStyle("rx", "1em") is "16px" 111 PASS computedStyle("svg", "x", "1em") is "16px"
54 PASS computedStyle("rx", "20%") is "20%" 112 PASS computedStyle("svg", "x", "20%") is "20%"
55 PASS computedStyle("rx", "-200px") is "-200px" 113 PASS computedStyle("svg", "x", "-200px") is "-200px"
56 PASS computedStyle("ry", " 100") is "100px" 114 PASS computedStyle("svg", "y", " 100") is "100px"
57 PASS computedStyle("ry", "100 ") is "100px" 115 PASS computedStyle("svg", "y", "100 ") is "100px"
58 PASS computedStyle("ry", "100px") is "100px" 116 PASS computedStyle("svg", "y", "100px") is "100px"
59 PASS computedStyle("ry", "1em") is "16px" 117 PASS computedStyle("svg", "y", "1em") is "16px"
60 PASS computedStyle("ry", "20%") is "20%" 118 PASS computedStyle("svg", "y", "20%") is "20%"
61 PASS computedStyle("ry", "-200px") is "-200px" 119 PASS computedStyle("svg", "y", "-200px") is "-200px"
62 PASS computedStyle("rx", "auto") is "0px" 120 PASS computedStyle("svg", "x", "auto") is "0px"
63 PASS computedStyle("rx", "100 px") is "0px" 121 PASS computedStyle("svg", "x", "100 px") is "0px"
64 PASS computedStyle("rx", "100px;") is "0px" 122 PASS computedStyle("svg", "x", "100px;") is "0px"
65 PASS computedStyle("rx", "100px !important") is "0px" 123 PASS computedStyle("svg", "x", "100px !important") is "0px"
66 PASS computedStyle("rx", "{ 100px }") is "0px" 124 PASS computedStyle("svg", "x", "{ 100px }") is "0px"
67 PASS computedStyle("ry", "auto") is "0px" 125 PASS computedStyle("svg", "y", "auto") is "0px"
68 PASS computedStyle("ry", "100 px") is "0px" 126 PASS computedStyle("svg", "y", "100 px") is "0px"
69 PASS computedStyle("ry", "100px;") is "0px" 127 PASS computedStyle("svg", "y", "100px;") is "0px"
70 PASS computedStyle("ry", "100px !important") is "0px" 128 PASS computedStyle("svg", "y", "100px !important") is "0px"
71 PASS computedStyle("ry", "{ 100px }") is "0px" 129 PASS computedStyle("svg", "y", "{ 100px }") is "0px"
130 PASS computedStyle("rect", "x", " 100") is "100px"
131 PASS computedStyle("rect", "x", "100 ") is "100px"
132 PASS computedStyle("rect", "x", "100px") is "100px"
133 PASS computedStyle("rect", "x", "1em") is "16px"
134 PASS computedStyle("rect", "x", "20%") is "20%"
135 PASS computedStyle("rect", "x", "-200px") is "-200px"
136 PASS computedStyle("rect", "y", " 100") is "100px"
137 PASS computedStyle("rect", "y", "100 ") is "100px"
138 PASS computedStyle("rect", "y", "100px") is "100px"
139 PASS computedStyle("rect", "y", "1em") is "16px"
140 PASS computedStyle("rect", "y", "20%") is "20%"
141 PASS computedStyle("rect", "y", "-200px") is "-200px"
142 PASS computedStyle("rect", "x", "auto") is "0px"
143 PASS computedStyle("rect", "x", "100 px") is "0px"
144 PASS computedStyle("rect", "x", "100px;") is "0px"
145 PASS computedStyle("rect", "x", "100px !important") is "0px"
146 PASS computedStyle("rect", "x", "{ 100px }") is "0px"
147 PASS computedStyle("rect", "y", "auto") is "0px"
148 PASS computedStyle("rect", "y", "100 px") is "0px"
149 PASS computedStyle("rect", "y", "100px;") is "0px"
150 PASS computedStyle("rect", "y", "100px !important") is "0px"
151 PASS computedStyle("rect", "y", "{ 100px }") is "0px"
152 PASS computedStyle("image", "x", " 100") is "100px"
153 PASS computedStyle("image", "x", "100 ") is "100px"
154 PASS computedStyle("image", "x", "100px") is "100px"
155 PASS computedStyle("image", "x", "1em") is "16px"
156 PASS computedStyle("image", "x", "20%") is "20%"
157 PASS computedStyle("image", "x", "-200px") is "-200px"
158 PASS computedStyle("image", "y", " 100") is "100px"
159 PASS computedStyle("image", "y", "100 ") is "100px"
160 PASS computedStyle("image", "y", "100px") is "100px"
161 PASS computedStyle("image", "y", "1em") is "16px"
162 PASS computedStyle("image", "y", "20%") is "20%"
163 PASS computedStyle("image", "y", "-200px") is "-200px"
164 PASS computedStyle("image", "x", "auto") is "0px"
165 PASS computedStyle("image", "x", "100 px") is "0px"
166 PASS computedStyle("image", "x", "100px;") is "0px"
167 PASS computedStyle("image", "x", "100px !important") is "0px"
168 PASS computedStyle("image", "x", "{ 100px }") is "0px"
169 PASS computedStyle("image", "y", "auto") is "0px"
170 PASS computedStyle("image", "y", "100 px") is "0px"
171 PASS computedStyle("image", "y", "100px;") is "0px"
172 PASS computedStyle("image", "y", "100px !important") is "0px"
173 PASS computedStyle("image", "y", "{ 100px }") is "0px"
174 PASS computedStyle("foreignObject", "x", " 100") is "100px"
175 PASS computedStyle("foreignObject", "x", "100 ") is "100px"
176 PASS computedStyle("foreignObject", "x", "100px") is "100px"
177 PASS computedStyle("foreignObject", "x", "1em") is "16px"
178 PASS computedStyle("foreignObject", "x", "20%") is "20%"
179 PASS computedStyle("foreignObject", "x", "-200px") is "-200px"
180 PASS computedStyle("foreignObject", "y", " 100") is "100px"
181 PASS computedStyle("foreignObject", "y", "100 ") is "100px"
182 PASS computedStyle("foreignObject", "y", "100px") is "100px"
183 PASS computedStyle("foreignObject", "y", "1em") is "16px"
184 PASS computedStyle("foreignObject", "y", "20%") is "20%"
185 PASS computedStyle("foreignObject", "y", "-200px") is "-200px"
186 PASS computedStyle("foreignObject", "x", "auto") is "0px"
187 PASS computedStyle("foreignObject", "x", "100 px") is "0px"
188 PASS computedStyle("foreignObject", "x", "100px;") is "0px"
189 PASS computedStyle("foreignObject", "x", "100px !important") is "0px"
190 PASS computedStyle("foreignObject", "x", "{ 100px }") is "0px"
191 PASS computedStyle("foreignObject", "y", "auto") is "0px"
192 PASS computedStyle("foreignObject", "y", "100 px") is "0px"
193 PASS computedStyle("foreignObject", "y", "100px;") is "0px"
194 PASS computedStyle("foreignObject", "y", "100px !important") is "0px"
195 PASS computedStyle("foreignObject", "y", "{ 100px }") is "0px"
196 PASS computedStyle("rect", "rx", " 100") is "100px"
197 PASS computedStyle("rect", "rx", "100 ") is "100px"
198 PASS computedStyle("rect", "rx", "100px") is "100px"
199 PASS computedStyle("rect", "rx", "1em") is "16px"
200 PASS computedStyle("rect", "rx", "20%") is "20%"
201 PASS computedStyle("rect", "rx", "-200px") is "-200px"
202 PASS computedStyle("rect", "ry", " 100") is "100px"
203 PASS computedStyle("rect", "ry", "100 ") is "100px"
204 PASS computedStyle("rect", "ry", "100px") is "100px"
205 PASS computedStyle("rect", "ry", "1em") is "16px"
206 PASS computedStyle("rect", "ry", "20%") is "20%"
207 PASS computedStyle("rect", "ry", "-200px") is "-200px"
208 PASS computedStyle("rect", "rx", "auto") is "0px"
209 PASS computedStyle("rect", "rx", "100 px") is "0px"
210 PASS computedStyle("rect", "rx", "100px;") is "0px"
211 PASS computedStyle("rect", "rx", "100px !important") is "0px"
212 PASS computedStyle("rect", "rx", "{ 100px }") is "0px"
213 PASS computedStyle("rect", "ry", "auto") is "0px"
214 PASS computedStyle("rect", "ry", "100 px") is "0px"
215 PASS computedStyle("rect", "ry", "100px;") is "0px"
216 PASS computedStyle("rect", "ry", "100px !important") is "0px"
217 PASS computedStyle("rect", "ry", "{ 100px }") is "0px"
218 PASS computedStyle("ellipse", "rx", " 100") is "100px"
219 PASS computedStyle("ellipse", "rx", "100 ") is "100px"
220 PASS computedStyle("ellipse", "rx", "100px") is "100px"
221 PASS computedStyle("ellipse", "rx", "1em") is "16px"
222 PASS computedStyle("ellipse", "rx", "20%") is "20%"
223 PASS computedStyle("ellipse", "rx", "-200px") is "-200px"
224 PASS computedStyle("ellipse", "ry", " 100") is "100px"
225 PASS computedStyle("ellipse", "ry", "100 ") is "100px"
226 PASS computedStyle("ellipse", "ry", "100px") is "100px"
227 PASS computedStyle("ellipse", "ry", "1em") is "16px"
228 PASS computedStyle("ellipse", "ry", "20%") is "20%"
229 PASS computedStyle("ellipse", "ry", "-200px") is "-200px"
230 PASS computedStyle("ellipse", "rx", "auto") is "0px"
231 PASS computedStyle("ellipse", "rx", "100 px") is "0px"
232 PASS computedStyle("ellipse", "rx", "100px;") is "0px"
233 PASS computedStyle("ellipse", "rx", "100px !important") is "0px"
234 PASS computedStyle("ellipse", "rx", "{ 100px }") is "0px"
235 PASS computedStyle("ellipse", "ry", "auto") is "0px"
236 PASS computedStyle("ellipse", "ry", "100 px") is "0px"
237 PASS computedStyle("ellipse", "ry", "100px;") is "0px"
238 PASS computedStyle("ellipse", "ry", "100px !important") is "0px"
239 PASS computedStyle("ellipse", "ry", "{ 100px }") is "0px"
240 PASS computedStyle("circle", "r", " 100") is "100px"
241 PASS computedStyle("circle", "r", "100 ") is "100px"
242 PASS computedStyle("circle", "r", "100px") is "100px"
243 PASS computedStyle("circle", "r", "1em") is "16px"
244 PASS computedStyle("circle", "r", "20%") is "20%"
245 PASS computedStyle("circle", "r", "-200px") is "-200px"
246 PASS computedStyle("circle", "r", "auto") is "0px"
247 PASS computedStyle("circle", "r", "100 px") is "0px"
248 PASS computedStyle("circle", "r", "100px;") is "0px"
249 PASS computedStyle("circle", "r", "100px !important") is "0px"
250 PASS computedStyle("circle", "r", "{ 100px }") is "0px"
72 PASS successfullyParsed is true 251 PASS successfullyParsed is true
73 252
74 TEST COMPLETE 253 TEST COMPLETE
75 254
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698