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

Side by Side Diff: LayoutTests/fast/shapes/parsing/parsing-shape-lengths-expected.txt

Issue 112103012: Update default shape property value to 'none' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merging with new ellipse code Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 Test that basic shapes accept different length units 1 Test that basic shapes accept different length units
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS getStyleValue("shape-inside", "circle(0, 0, 0)") is "circle(0px, 0px, 0px)" 6 PASS getStyleValue("shape-inside", "circle(0, 0, 0)") is "circle(0px, 0px, 0px)"
7 PASS getStyleValue("shape-inside", "circle(-1px, +1px, 1px)") is "circle(-1px, 1 px, 1px)" 7 PASS getStyleValue("shape-inside", "circle(-1px, +1px, 1px)") is "circle(-1px, 1 px, 1px)"
8 PASS getStyleValue("shape-inside", "circle(-1.5px, +1.5px, 1.5px)") is "circle(- 1.5px, 1.5px, 1.5px)" 8 PASS getStyleValue("shape-inside", "circle(-1.5px, +1.5px, 1.5px)") is "circle(- 1.5px, 1.5px, 1.5px)"
9 PASS getStyleValue("shape-inside", "circle(-.5px, +.5px, .5px)") is "circle(-0.5 px, 0.5px, 0.5px)" 9 PASS getStyleValue("shape-inside", "circle(-.5px, +.5px, .5px)") is "circle(-0.5 px, 0.5px, 0.5px)"
10 PASS getStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, 1px, 1pt, 1pc)") is "rectangle(1cm, 1mm, 1in, 1px, 1pt, 1pc)" 10 PASS getStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, 1px, 1pt, 1pc)") is "rectangle(1cm, 1mm, 1in, 1px, 1pt, 1pc)"
(...skipping 15 matching lines...) Expand all
26 PASS getStyleValue("shape-inside", "rectangle(45%, 45%, 90%, 60%, 25%, 10%)") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)" 26 PASS getStyleValue("shape-inside", "rectangle(45%, 45%, 90%, 60%, 25%, 10%)") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)"
27 PASS getStyleValue("shape-inside", "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10% )") is "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10%)" 27 PASS getStyleValue("shape-inside", "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10% )") is "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10%)"
28 PASS getStyleValue("shape-inside", "ellipse(100%, 100%, 100%, 100%)") is "ellips e(100%, 100%, 100%, 100%)" 28 PASS getStyleValue("shape-inside", "ellipse(100%, 100%, 100%, 100%)") is "ellips e(100%, 100%, 100%, 100%)"
29 PASS getStyleValue("shape-inside", "polygon(10% 20%, 30% 40%, 40% 50%)") is "pol ygon(nonzero, 10% 20%, 30% 40%, 40% 50%)" 29 PASS getStyleValue("shape-inside", "polygon(10% 20%, 30% 40%, 40% 50%)") is "pol ygon(nonzero, 10% 20%, 30% 40%, 40% 50%)"
30 PASS getComputedStyleValue("shape-inside", "circle(50%, 100%, 150%)") is "circle (50%, 100%, 150%)" 30 PASS getComputedStyleValue("shape-inside", "circle(50%, 100%, 150%)") is "circle (50%, 100%, 150%)"
31 PASS getComputedStyleValue("shape-inside", "rectangle(45%, 45%, 90%, 60%, 25%, 1 0%)") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)" 31 PASS getComputedStyleValue("shape-inside", "rectangle(45%, 45%, 90%, 60%, 25%, 1 0%)") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)"
32 PASS getComputedStyleValue("shape-inside", "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10%)") is "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10%)" 32 PASS getComputedStyleValue("shape-inside", "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10%)") is "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10%)"
33 PASS getComputedStyleValue("shape-inside", "ellipse(100%, 100%, 100%, 100%)") is "ellipse(100%, 100%, 100%, 100%)" 33 PASS getComputedStyleValue("shape-inside", "ellipse(100%, 100%, 100%, 100%)") is "ellipse(100%, 100%, 100%, 100%)"
34 PASS getComputedStyleValue("shape-inside", "polygon(10% 20%, 30% 40%, 40% 50%)") is "polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)" 34 PASS getComputedStyleValue("shape-inside", "polygon(10% 20%, 30% 40%, 40% 50%)") is "polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)"
35 PASS getStyleValue("shape-inside", "circle(1px, 1px, 1)") is null 35 PASS getStyleValue("shape-inside", "circle(1px, 1px, 1)") is null
36 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, 1)") is "auto" 36 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, 1)") is "none"
37 PASS getStyleValue("shape-inside", "circle(1px, 1px, px)") is null 37 PASS getStyleValue("shape-inside", "circle(1px, 1px, px)") is null
38 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, px)") is "auto" 38 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, px)") is "none"
39 PASS getStyleValue("shape-inside", "circle(1px, 1px, 1p)") is null 39 PASS getStyleValue("shape-inside", "circle(1px, 1px, 1p)") is null
40 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, 1p)") is "auto" 40 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, 1p)") is "none"
41 PASS getStyleValue("shape-inside", "circle(1px, 1px, calc())") is null 41 PASS getStyleValue("shape-inside", "circle(1px, 1px, calc())") is null
42 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, calc())") is "auto" 42 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, calc())") is "none"
43 PASS getStyleValue("shape-inside", "circle(-1.5px, +1.5px, -1.5px)") is null 43 PASS getStyleValue("shape-inside", "circle(-1.5px, +1.5px, -1.5px)") is null
44 PASS getComputedStyleValue("shape-inside", "circle(-1.5px, +1.5px, -1.5px)") is "auto" 44 PASS getComputedStyleValue("shape-inside", "circle(-1.5px, +1.5px, -1.5px)") is "none"
45 PASS getStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, 1px, -1pt, 1pc)") i s null 45 PASS getStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, 1px, -1pt, 1pc)") i s null
46 PASS getComputedStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, 1px, -1pt, 1pc)") is "auto" 46 PASS getComputedStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, 1px, -1pt, 1pc)") is "none"
47 PASS getStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, 1px, 1pt, -1pc)") i s null 47 PASS getStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, 1px, 1pt, -1pc)") i s null
48 PASS getComputedStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, 1px, 1pt, - 1pc)") is "auto" 48 PASS getComputedStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, 1px, 1pt, - 1pc)") is "none"
49 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, 1px, -1pt, 1p c)") is null 49 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, 1px, -1pt, 1p c)") is null
50 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, 1px, -1pt, 1pc)") is "auto" 50 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, 1px, -1pt, 1pc)") is "none"
51 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, 1px, 1pt, -1p c)") is null 51 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, 1px, 1pt, -1p c)") is null
52 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, 1px, 1pt, -1pc)") is "auto" 52 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, 1px, 1pt, -1pc)") is "none"
53 PASS getStyleValue("shape-inside", "ellipse(1em, 1em, -1em, 1em)") is null 53 PASS getStyleValue("shape-inside", "ellipse(1em, 1em, -1em, 1em)") is null
54 PASS getComputedStyleValue("shape-inside", "ellipse(1em, 1em, -1em, 1em)") is "a uto" 54 PASS getComputedStyleValue("shape-inside", "ellipse(1em, 1em, -1em, 1em)") is "n one"
55 PASS getStyleValue("shape-inside", "ellipse(1em, 1em, 1em, -1em)") is null 55 PASS getStyleValue("shape-inside", "ellipse(1em, 1em, 1em, -1em)") is null
56 PASS getComputedStyleValue("shape-inside", "ellipse(1em, 1em, 1em, -1em)") is "a uto" 56 PASS getComputedStyleValue("shape-inside", "ellipse(1em, 1em, 1em, -1em)") is "n one"
57 PASS getStyleValue("shape-inside", "rectangle(1cm, 1mm, -1in, 1px, 1pt, 1pc)") i s null 57 PASS getStyleValue("shape-inside", "rectangle(1cm, 1mm, -1in, 1px, 1pt, 1pc)") i s null
58 PASS getComputedStyleValue("shape-inside", "rectangle(1cm, 1mm, -1in, 1px, 1pt, 1pc)") is "auto" 58 PASS getComputedStyleValue("shape-inside", "rectangle(1cm, 1mm, -1in, 1px, 1pt, 1pc)") is "none"
59 PASS getStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)") i s null 59 PASS getStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)") i s null
60 PASS getComputedStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is "auto" 60 PASS getComputedStyleValue("shape-inside", "rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is "none"
61 PASS getStyleValue("shape-inside", "inset-rectangle(-1cm, 1mm, 1in, 1px, 1pt, 1p c)") is null 61 PASS getStyleValue("shape-inside", "inset-rectangle(-1cm, 1mm, 1in, 1px, 1pt, 1p c)") is null
62 PASS getComputedStyleValue("shape-inside", "inset-rectangle(-1cm, 1mm, 1in, 1px, 1pt, 1pc)") is "auto" 62 PASS getComputedStyleValue("shape-inside", "inset-rectangle(-1cm, 1mm, 1in, 1px, 1pt, 1pc)") is "none"
63 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, -1mm, 1in, 1px, 1pt, 1p c)") is null 63 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, -1mm, 1in, 1px, 1pt, 1p c)") is null
64 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, -1mm, 1in, 1px, 1pt, 1pc)") is "auto" 64 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, -1mm, 1in, 1px, 1pt, 1pc)") is "none"
65 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, -1in, 1px, 1pt, 1p c)") is null 65 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, -1in, 1px, 1pt, 1p c)") is null
66 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, -1in, 1px, 1pt, 1pc)") is "auto" 66 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, -1in, 1px, 1pt, 1pc)") is "none"
67 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1p c)") is null 67 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1p c)") is null
68 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is "auto" 68 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is "none"
69 PASS successfullyParsed is true 69 PASS successfullyParsed is true
70 70
71 TEST COMPLETE 71 TEST COMPLETE
72 72
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698