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

Side by Side Diff: LayoutTests/fast/masking/parsing-clip-path-shape-expected.txt

Issue 82083002: Move viewport unit resolution to style recalc time (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: fix compile on mac Created 7 years 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 clip-path shapes accept different length units 1 Test that clip-path 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 innerStyle("-webkit-clip-path", "circle(0, 0, 0)") is "circle(0px, 0px, 0px )" 6 PASS innerStyle("-webkit-clip-path", "circle(0, 0, 0)") is "circle(0px, 0px, 0px )"
7 PASS innerStyle("-webkit-clip-path", "circle(-1px, +1px, 1px)") is "circle(-1px, 1px, 1px)" 7 PASS innerStyle("-webkit-clip-path", "circle(-1px, +1px, 1px)") is "circle(-1px, 1px, 1px)"
8 PASS innerStyle("-webkit-clip-path", "circle(-1.5px, +1.5px, 1.5px)") is "circle (-1.5px, 1.5px, 1.5px)" 8 PASS innerStyle("-webkit-clip-path", "circle(-1.5px, +1.5px, 1.5px)") is "circle (-1.5px, 1.5px, 1.5px)"
9 PASS innerStyle("-webkit-clip-path", "circle(-.5px, +.5px, .5px)") is "circle(-0 .5px, 0.5px, 0.5px)" 9 PASS innerStyle("-webkit-clip-path", "circle(-.5px, +.5px, .5px)") is "circle(-0 .5px, 0.5px, 0.5px)"
10 PASS innerStyle("-webkit-clip-path", "rectangle(1cm, 1mm, 1in, 1px, 1pt, 1pc)") is "rectangle(1cm, 1mm, 1in, 1px, 1pt, 1pc)" 10 PASS innerStyle("-webkit-clip-path", "rectangle(1cm, 1mm, 1in, 1px, 1pt, 1pc)") is "rectangle(1cm, 1mm, 1in, 1px, 1pt, 1pc)"
11 PASS innerStyle("-webkit-clip-path", "circle(-1em, +1em, 1em)") is "circle(-1em, 1em, 1em)" 11 PASS innerStyle("-webkit-clip-path", "circle(-1em, +1em, 1em)") is "circle(-1em, 1em, 1em)"
12 PASS innerStyle("-webkit-clip-path", "circle(-1.5em, +1.5em, 1.5em)") is "circle (-1.5em, 1.5em, 1.5em)" 12 PASS innerStyle("-webkit-clip-path", "circle(-1.5em, +1.5em, 1.5em)") is "circle (-1.5em, 1.5em, 1.5em)"
13 PASS innerStyle("-webkit-clip-path", "circle(-.5em, +.5em, .5em)") is "circle(-0 .5em, 0.5em, 0.5em)" 13 PASS innerStyle("-webkit-clip-path", "circle(-.5em, +.5em, .5em)") is "circle(-0 .5em, 0.5em, 0.5em)"
14 PASS innerStyle("-webkit-clip-path", "circle(1ex, 1ex, 1ex)") is "circle(1ex, 1e x, 1ex)" 14 PASS innerStyle("-webkit-clip-path", "circle(1ex, 1ex, 1ex)") is "circle(1ex, 1e x, 1ex)"
15 PASS innerStyle("-webkit-clip-path", "circle(1rem, 1rem, 1rem)") is "circle(1rem , 1rem, 1rem)" 15 PASS innerStyle("-webkit-clip-path", "circle(1rem, 1rem, 1rem)") is "circle(1rem , 1rem, 1rem)"
16 PASS computedStyle("-webkit-clip-path", "circle(.5em, 1em, 1.5em)") is "circle(4 px, 8px, 12px)" 16 PASS computedStyle("-webkit-clip-path", "circle(.5em, 1em, 1.5em)") is "circle(4 px, 8px, 12px)"
17 PASS computedStyle("-webkit-clip-path", "circle(.5rem, 1rem, 1.5rem)") is "circl e(8px, 16px, 24px)" 17 PASS computedStyle("-webkit-clip-path", "circle(.5rem, 1rem, 1.5rem)") is "circl e(8px, 16px, 24px)"
18 PASS innerStyle("-webkit-clip-path", "circle(1vw, 1vw, 1vw)") is "circle(1vw, 1v w, 1vw)" 18 PASS innerStyle("-webkit-clip-path", "circle(1vw, 1vw, 1vw)") is "circle(1vw, 1v w, 1vw)"
19 PASS innerStyle("-webkit-clip-path", "circle(1vh, 1vh, 1vh)") is "circle(1vh, 1v h, 1vh)" 19 PASS innerStyle("-webkit-clip-path", "circle(1vh, 1vh, 1vh)") is "circle(1vh, 1v h, 1vh)"
20 PASS innerStyle("-webkit-clip-path", "circle(1vmin, 1vmin, 1vmin)") is "circle(1 vmin, 1vmin, 1vmin)" 20 PASS innerStyle("-webkit-clip-path", "circle(1vmin, 1vmin, 1vmin)") is "circle(1 vmin, 1vmin, 1vmin)"
21 PASS computedStyle("-webkit-clip-path", "circle(.5vw, 1vw, 1.5vw)") is "circle(0 .5vw, 1vw, 1.5vw)" 21 PASS computedStyle("-webkit-clip-path", "circle(.5vw, 1vw, 1.5vw)") is "circle(4 px, 8px, 12px)"
22 PASS computedStyle("-webkit-clip-path", "circle(.5vh, 1vh, 1.5vh)") is "circle(0 .5vh, 1vh, 1.5vh)" 22 PASS computedStyle("-webkit-clip-path", "circle(.5vh, 1vh, 1.5vh)") is "circle(3 px, 6px, 9px)"
23 PASS computedStyle("-webkit-clip-path", "circle(.5vmin, 1vmin, 1.5vmin)") is "ci rcle(0.5vmin, 1vmin, 1.5vmin)" 23 PASS computedStyle("-webkit-clip-path", "circle(.5vmin, 1vmin, 1.5vmin)") is "ci rcle(3px, 6px, 9px)"
24 PASS innerStyle("-webkit-clip-path", "circle(100%, 100%, 100%)") is "circle(100% , 100%, 100%)" 24 PASS innerStyle("-webkit-clip-path", "circle(100%, 100%, 100%)") is "circle(100% , 100%, 100%)"
25 PASS innerStyle("-webkit-clip-path", "rectangle(45%, 45%, 90%, 60%, 25%, 10%)") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)" 25 PASS innerStyle("-webkit-clip-path", "rectangle(45%, 45%, 90%, 60%, 25%, 10%)") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)"
26 PASS innerStyle("-webkit-clip-path", "ellipse(100%, 100%, 100%, 100%)") is "elli pse(100%, 100%, 100%, 100%)" 26 PASS innerStyle("-webkit-clip-path", "ellipse(100%, 100%, 100%, 100%)") is "elli pse(100%, 100%, 100%, 100%)"
27 PASS innerStyle("-webkit-clip-path", "polygon(10% 20%, 30% 40%, 40% 50%)") is "p olygon(nonzero, 10% 20%, 30% 40%, 40% 50%)" 27 PASS innerStyle("-webkit-clip-path", "polygon(10% 20%, 30% 40%, 40% 50%)") is "p olygon(nonzero, 10% 20%, 30% 40%, 40% 50%)"
28 PASS computedStyle("-webkit-clip-path", "circle(50%, 100%, 150%)") is "circle(50 %, 100%, 150%)" 28 PASS computedStyle("-webkit-clip-path", "circle(50%, 100%, 150%)") is "circle(50 %, 100%, 150%)"
29 PASS computedStyle("-webkit-clip-path", "rectangle(45%, 45%, 90%, 60%, 25%, 10%) ") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)" 29 PASS computedStyle("-webkit-clip-path", "rectangle(45%, 45%, 90%, 60%, 25%, 10%) ") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)"
30 PASS computedStyle("-webkit-clip-path", "ellipse(100%, 100%, 100%, 100%)") is "e llipse(100%, 100%, 100%, 100%)" 30 PASS computedStyle("-webkit-clip-path", "ellipse(100%, 100%, 100%, 100%)") is "e llipse(100%, 100%, 100%, 100%)"
31 PASS computedStyle("-webkit-clip-path", "polygon(10% 20%, 30% 40%, 40% 50%)") is "polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)" 31 PASS computedStyle("-webkit-clip-path", "polygon(10% 20%, 30% 40%, 40% 50%)") is "polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)"
32 PASS innerStyle("-webkit-clip-path", "circle(1px, 1px, 1)") is null 32 PASS innerStyle("-webkit-clip-path", "circle(1px, 1px, 1)") is null
33 PASS computedStyle("-webkit-clip-path", "circle(1px, 1px, 1)") is "none" 33 PASS computedStyle("-webkit-clip-path", "circle(1px, 1px, 1)") is "none"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 PASS innerStyle("-webkit-clip-path", "polygon()") is null 66 PASS innerStyle("-webkit-clip-path", "polygon()") is null
67 PASS computedStyle("-webkit-clip-path", "polygon()") is "none" 67 PASS computedStyle("-webkit-clip-path", "polygon()") is "none"
68 PASS innerStyle("-webkit-clip-path", "polygon(evenodd)") is null 68 PASS innerStyle("-webkit-clip-path", "polygon(evenodd)") is null
69 PASS computedStyle("-webkit-clip-path", "polygon(evenodd)") is "none" 69 PASS computedStyle("-webkit-clip-path", "polygon(evenodd)") is "none"
70 PASS innerStyle("-webkit-clip-path", "polygon(nonzero)") is null 70 PASS innerStyle("-webkit-clip-path", "polygon(nonzero)") is null
71 PASS computedStyle("-webkit-clip-path", "polygon(nonzero)") is "none" 71 PASS computedStyle("-webkit-clip-path", "polygon(nonzero)") is "none"
72 PASS successfullyParsed is true 72 PASS successfullyParsed is true
73 73
74 TEST COMPLETE 74 TEST COMPLETE
75 75
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698