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

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

Issue 896773002: [svg2] Make 'x' and 'y' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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
(Empty)
1 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="auto"
2 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100 px"
3 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100px;"
4 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="100px !important"
5 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="{ 100px }"
6 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="auto"
7 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100 px"
8 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100px;"
9 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="100px !important"
10 CONSOLE ERROR: Error: Invalid value for <rect> attribute y="{ 100px }"
11 Test that 'length' presentation attribute values are parsed with CSS presentatio n rules.
12
13 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
14
15
16 PASS computedStyle("x", " 100") is "100px"
17 PASS computedStyle("x", "100 ") is "100px"
18 PASS computedStyle("x", "100px") is "100px"
19 PASS computedStyle("x", "1em") is "16px"
20 PASS computedStyle("x", "20%") is "20%"
21 PASS computedStyle("x", "-200px") is "-200px"
22 PASS computedStyle("y", " 100") is "100px"
23 PASS computedStyle("y", "100 ") is "100px"
24 PASS computedStyle("y", "100px") is "100px"
25 PASS computedStyle("y", "1em") is "16px"
26 PASS computedStyle("y", "20%") is "20%"
27 PASS computedStyle("y", "-200px") is "-200px"
28 PASS computedStyle("x", "auto") is "0px"
29 PASS computedStyle("x", "100 px") is "0px"
30 PASS computedStyle("x", "100px;") is "0px"
31 PASS computedStyle("x", "100px !important") is "0px"
32 PASS computedStyle("x", "{ 100px }") is "0px"
33 PASS computedStyle("y", "auto") is "0px"
34 PASS computedStyle("y", "100 px") is "0px"
35 PASS computedStyle("y", "100px;") is "0px"
36 PASS computedStyle("y", "100px !important") is "0px"
37 PASS computedStyle("y", "{ 100px }") is "0px"
38 PASS successfullyParsed is true
39
40 TEST COMPLETE
41
OLDNEW
« 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