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

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

Issue 191353002: [CSS Shapes] Omit polygon default fill-rule (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add COMPILE_ASSERT Created 6 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 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 12 matching lines...) Expand all
23 PASS getStyleValue("shape-inside", "circle(1vh, 1vh, 1vh)") is "circle(1vh, 1vh, 1vh)" 23 PASS getStyleValue("shape-inside", "circle(1vh, 1vh, 1vh)") is "circle(1vh, 1vh, 1vh)"
24 PASS getStyleValue("shape-inside", "circle(1vmin, 1vmin, 1vmin)") is "circle(1vm in, 1vmin, 1vmin)" 24 PASS getStyleValue("shape-inside", "circle(1vmin, 1vmin, 1vmin)") is "circle(1vm in, 1vmin, 1vmin)"
25 PASS getComputedStyleValue("shape-inside", "circle(.5vw, 1vw, 1.5vw)") is "circl e(4px, 8px, 12px)" 25 PASS getComputedStyleValue("shape-inside", "circle(.5vw, 1vw, 1.5vw)") is "circl e(4px, 8px, 12px)"
26 PASS getComputedStyleValue("shape-inside", "circle(.5vh, 1vh, 1.5vh)") is "circl e(3px, 6px, 9px)" 26 PASS getComputedStyleValue("shape-inside", "circle(.5vh, 1vh, 1.5vh)") is "circl e(3px, 6px, 9px)"
27 PASS getComputedStyleValue("shape-inside", "circle(.5vmin, 1vmin, 1.5vmin)") is "circle(3px, 6px, 9px)" 27 PASS getComputedStyleValue("shape-inside", "circle(.5vmin, 1vmin, 1.5vmin)") is "circle(3px, 6px, 9px)"
28 PASS getStyleValue("shape-inside", "circle(100%, 100%, 100%)") is "circle(100%, 100%, 100%)" 28 PASS getStyleValue("shape-inside", "circle(100%, 100%, 100%)") is "circle(100%, 100%, 100%)"
29 PASS getStyleValue("shape-inside", "rectangle(45%, 45%, 90%, 60%, 25%, 10%)") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)" 29 PASS getStyleValue("shape-inside", "rectangle(45%, 45%, 90%, 60%, 25%, 10%)") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)"
30 PASS getStyleValue("shape-inside", "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10% )") is "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10%)" 30 PASS getStyleValue("shape-inside", "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10% )") is "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10%)"
31 PASS getStyleValue("shape-inside", "inset(45% 45% 90% 60% round 25% 10%)") is "i nset(45% 45% 90% 60% round 25% 10% 25% 10% / 25% 10% 25% 10%)" 31 PASS getStyleValue("shape-inside", "inset(45% 45% 90% 60% round 25% 10%)") is "i nset(45% 45% 90% 60% round 25% 10% 25% 10% / 25% 10% 25% 10%)"
32 PASS getStyleValue("shape-inside", "ellipse(100%, 100%, 100%, 100%)") is "ellips e(100%, 100%, 100%, 100%)" 32 PASS getStyleValue("shape-inside", "ellipse(100%, 100%, 100%, 100%)") is "ellips e(100%, 100%, 100%, 100%)"
33 PASS getStyleValue("shape-inside", "polygon(10% 20%, 30% 40%, 40% 50%)") is "pol ygon(nonzero, 10% 20%, 30% 40%, 40% 50%)" 33 PASS getStyleValue("shape-inside", "polygon(10% 20%, 30% 40%, 40% 50%)") is "pol ygon(10% 20%, 30% 40%, 40% 50%)"
34 PASS getComputedStyleValue("shape-inside", "circle(50%, 100%, 150%)") is "circle (50%, 100%, 150%)" 34 PASS getComputedStyleValue("shape-inside", "circle(50%, 100%, 150%)") is "circle (50%, 100%, 150%)"
35 PASS getComputedStyleValue("shape-inside", "rectangle(45%, 45%, 90%, 60%, 25%, 1 0%)") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)" 35 PASS getComputedStyleValue("shape-inside", "rectangle(45%, 45%, 90%, 60%, 25%, 1 0%)") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)"
36 PASS getComputedStyleValue("shape-inside", "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10%)") is "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10%)" 36 PASS getComputedStyleValue("shape-inside", "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10%)") is "inset-rectangle(45%, 45%, 90%, 60%, 25%, 10%)"
37 PASS getComputedStyleValue("shape-inside", "inset(45% 45% 90% 60% round 25% 10%) ") is "inset(45% 45% 90% 60% round 25% 10% 25% 10% / 25% 10% 25% 10%)" 37 PASS getComputedStyleValue("shape-inside", "inset(45% 45% 90% 60% round 25% 10%) ") is "inset(45% 45% 90% 60% round 25% 10% 25% 10% / 25% 10% 25% 10%)"
38 PASS getComputedStyleValue("shape-inside", "ellipse(100%, 100%, 100%, 100%)") is "ellipse(100%, 100%, 100%, 100%)" 38 PASS getComputedStyleValue("shape-inside", "ellipse(100%, 100%, 100%, 100%)") is "ellipse(100%, 100%, 100%, 100%)"
39 PASS getComputedStyleValue("shape-inside", "polygon(10% 20%, 30% 40%, 40% 50%)") is "polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)" 39 PASS getComputedStyleValue("shape-inside", "polygon(10% 20%, 30% 40%, 40% 50%)") is "polygon(10% 20%, 30% 40%, 40% 50%)"
40 PASS getStyleValue("shape-inside", "circle(1px, 1px, 1)") is null 40 PASS getStyleValue("shape-inside", "circle(1px, 1px, 1)") is null
41 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, 1)") is "none" 41 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, 1)") is "none"
42 PASS getStyleValue("shape-inside", "circle(1px, 1px, px)") is null 42 PASS getStyleValue("shape-inside", "circle(1px, 1px, px)") is null
43 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, px)") is "none" 43 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, px)") is "none"
44 PASS getStyleValue("shape-inside", "circle(1px, 1px, 1p)") is null 44 PASS getStyleValue("shape-inside", "circle(1px, 1px, 1p)") is null
45 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, 1p)") is "none" 45 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, 1p)") is "none"
46 PASS getStyleValue("shape-inside", "circle(1px, 1px, calc())") is null 46 PASS getStyleValue("shape-inside", "circle(1px, 1px, calc())") is null
47 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, calc())") is "none" 47 PASS getComputedStyleValue("shape-inside", "circle(1px, 1px, calc())") is "none"
48 PASS getStyleValue("shape-inside", "circle(-1.5px, +1.5px, -1.5px)") is null 48 PASS getStyleValue("shape-inside", "circle(-1.5px, +1.5px, -1.5px)") is null
49 PASS getComputedStyleValue("shape-inside", "circle(-1.5px, +1.5px, -1.5px)") is "none" 49 PASS getComputedStyleValue("shape-inside", "circle(-1.5px, +1.5px, -1.5px)") is "none"
(...skipping 20 matching lines...) Expand all
70 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, -1mm, 1in, 1px, 1pt, 1p c)") is null 70 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, -1mm, 1in, 1px, 1pt, 1p c)") is null
71 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, -1mm, 1in, 1px, 1pt, 1pc)") is "none" 71 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, -1mm, 1in, 1px, 1pt, 1pc)") is "none"
72 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, -1in, 1px, 1pt, 1p c)") is null 72 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, -1in, 1px, 1pt, 1p c)") is null
73 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, -1in, 1px, 1pt, 1pc)") is "none" 73 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, -1in, 1px, 1pt, 1pc)") is "none"
74 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1p c)") is null 74 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1p c)") is null
75 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is "none" 75 PASS getComputedStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is "none"
76 PASS successfullyParsed is true 76 PASS successfullyParsed is true
77 77
78 TEST COMPLETE 78 TEST COMPLETE
79 79
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698