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

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: rename browser zoom to page zoom 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
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", "circle(0 at 0 0)") is "circle(0px at 0px 0 px)" 10 PASS innerStyle("-webkit-clip-path", "circle(0 at 0 0)") is "circle(0px at 0px 0 px)"
(...skipping 11 matching lines...) Expand all
22 PASS innerStyle("-webkit-clip-path", "circle(1em at -1em +1em)") is "circle(1em at -1em 1em)" 22 PASS innerStyle("-webkit-clip-path", "circle(1em at -1em +1em)") is "circle(1em at -1em 1em)"
23 PASS innerStyle("-webkit-clip-path", "circle(1.5em at -1.5em +1.5em)") is "circl e(1.5em at -1.5em 1.5em)" 23 PASS innerStyle("-webkit-clip-path", "circle(1.5em at -1.5em +1.5em)") is "circl e(1.5em at -1.5em 1.5em)"
24 PASS innerStyle("-webkit-clip-path", "circle(.5em at -.5em +.5em)") is "circle(0 .5em at -0.5em 0.5em)" 24 PASS innerStyle("-webkit-clip-path", "circle(.5em at -.5em +.5em)") is "circle(0 .5em at -0.5em 0.5em)"
25 PASS innerStyle("-webkit-clip-path", "circle(1ex at 1ex 1ex)") is "circle(1ex at 1ex 1ex)" 25 PASS innerStyle("-webkit-clip-path", "circle(1ex at 1ex 1ex)") is "circle(1ex at 1ex 1ex)"
26 PASS innerStyle("-webkit-clip-path", "circle(1rem at 1rem 1rem)") is "circle(1re m at 1rem 1rem)" 26 PASS innerStyle("-webkit-clip-path", "circle(1rem at 1rem 1rem)") is "circle(1re m at 1rem 1rem)"
27 PASS computedStyle("-webkit-clip-path", "circle(1.5em at .5em 1em)") is "circle( 12px at 4px 8px)" 27 PASS computedStyle("-webkit-clip-path", "circle(1.5em at .5em 1em)") is "circle( 12px at 4px 8px)"
28 PASS computedStyle("-webkit-clip-path", "circle(1.5rem at .5rem 1rem)") is "circ le(24px at 8px 16px)" 28 PASS computedStyle("-webkit-clip-path", "circle(1.5rem at .5rem 1rem)") is "circ le(24px at 8px 16px)"
29 PASS innerStyle("-webkit-clip-path", "circle(1vw, 1vw, 1vw)") is "circle(1vw, 1v w, 1vw)" 29 PASS innerStyle("-webkit-clip-path", "circle(1vw, 1vw, 1vw)") is "circle(1vw, 1v w, 1vw)"
30 PASS innerStyle("-webkit-clip-path", "circle(1vh, 1vh, 1vh)") is "circle(1vh, 1v h, 1vh)" 30 PASS innerStyle("-webkit-clip-path", "circle(1vh, 1vh, 1vh)") is "circle(1vh, 1v h, 1vh)"
31 PASS innerStyle("-webkit-clip-path", "circle(1vmin, 1vmin, 1vmin)") is "circle(1 vmin, 1vmin, 1vmin)" 31 PASS innerStyle("-webkit-clip-path", "circle(1vmin, 1vmin, 1vmin)") is "circle(1 vmin, 1vmin, 1vmin)"
32 PASS computedStyle("-webkit-clip-path", "circle(.5vw, 1vw, 1.5vw)") is "circle(0 .5vw, 1vw, 1.5vw)" 32 PASS computedStyle("-webkit-clip-path", "circle(.5vw, 1vw, 1.5vw)") is "circle(4 px, 8px, 12px)"
33 PASS computedStyle("-webkit-clip-path", "circle(.5vh, 1vh, 1.5vh)") is "circle(0 .5vh, 1vh, 1.5vh)" 33 PASS computedStyle("-webkit-clip-path", "circle(.5vh, 1vh, 1.5vh)") is "circle(3 px, 6px, 9px)"
34 PASS computedStyle("-webkit-clip-path", "circle(.5vmin, 1vmin, 1.5vmin)") is "ci rcle(0.5vmin, 1vmin, 1.5vmin)" 34 PASS computedStyle("-webkit-clip-path", "circle(.5vmin, 1vmin, 1.5vmin)") is "ci rcle(3px, 6px, 9px)"
35 PASS innerStyle("-webkit-clip-path", "circle(1vw at 1vw 1vw)") is "circle(1vw at 1vw 1vw)" 35 PASS innerStyle("-webkit-clip-path", "circle(1vw at 1vw 1vw)") is "circle(1vw at 1vw 1vw)"
36 PASS innerStyle("-webkit-clip-path", "circle(1vh at 1vh 1vh)") is "circle(1vh at 1vh 1vh)" 36 PASS innerStyle("-webkit-clip-path", "circle(1vh at 1vh 1vh)") is "circle(1vh at 1vh 1vh)"
37 PASS innerStyle("-webkit-clip-path", "circle(1vmin at 1vmin 1vmin)") is "circle( 1vmin at 1vmin 1vmin)" 37 PASS innerStyle("-webkit-clip-path", "circle(1vmin at 1vmin 1vmin)") is "circle( 1vmin at 1vmin 1vmin)"
38 PASS computedStyle("-webkit-clip-path", "circle(1.5vw at .5vw 1vw)") is "circle( 1.5vw at 0.5vw 1vw)" 38 PASS computedStyle("-webkit-clip-path", "circle(1.5vw at .5vw 1vw)") is "circle( 12px at 4px 8px)"
39 PASS computedStyle("-webkit-clip-path", "circle(1.5vh at .5vh 1vh)") is "circle( 1.5vh at 0.5vh 1vh)" 39 PASS computedStyle("-webkit-clip-path", "circle(1.5vh at .5vh 1vh)") is "circle( 9px at 3px 6px)"
40 PASS computedStyle("-webkit-clip-path", "circle(1.5vmin at .5vmin 1vmin)") is "c ircle(1.5vmin at 0.5vmin 1vmin)" 40 PASS computedStyle("-webkit-clip-path", "circle(1.5vmin at .5vmin 1vmin)") is "c ircle(9px at 3px 6px)"
41 PASS innerStyle("-webkit-clip-path", "circle(100%, 100%, 100%)") is "circle(100% , 100%, 100%)" 41 PASS innerStyle("-webkit-clip-path", "circle(100%, 100%, 100%)") is "circle(100% , 100%, 100%)"
42 PASS innerStyle("-webkit-clip-path", "circle(100% at 100% 100%)") is "circle(100 % at 100% 100%)" 42 PASS innerStyle("-webkit-clip-path", "circle(100% at 100% 100%)") is "circle(100 % at 100% 100%)"
43 PASS innerStyle("-webkit-clip-path", "rectangle(45%, 45%, 90%, 60%, 25%, 10%)") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)" 43 PASS innerStyle("-webkit-clip-path", "rectangle(45%, 45%, 90%, 60%, 25%, 10%)") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)"
44 PASS innerStyle("-webkit-clip-path", "ellipse(100%, 100%, 100%, 100%)") is "elli pse(100%, 100%, 100%, 100%)" 44 PASS innerStyle("-webkit-clip-path", "ellipse(100%, 100%, 100%, 100%)") is "elli pse(100%, 100%, 100%, 100%)"
45 PASS innerStyle("-webkit-clip-path", "polygon(10% 20%, 30% 40%, 40% 50%)") is "p olygon(nonzero, 10% 20%, 30% 40%, 40% 50%)" 45 PASS innerStyle("-webkit-clip-path", "polygon(10% 20%, 30% 40%, 40% 50%)") is "p olygon(nonzero, 10% 20%, 30% 40%, 40% 50%)"
46 PASS computedStyle("-webkit-clip-path", "circle(50%, 100%, 150%)") is "circle(50 %, 100%, 150%)" 46 PASS computedStyle("-webkit-clip-path", "circle(50%, 100%, 150%)") is "circle(50 %, 100%, 150%)"
47 PASS computedStyle("-webkit-clip-path", "circle(150% at 50% 100%)") is "circle(1 50% at 50% 100%)" 47 PASS computedStyle("-webkit-clip-path", "circle(150% at 50% 100%)") is "circle(1 50% at 50% 100%)"
48 PASS computedStyle("-webkit-clip-path", "rectangle(45%, 45%, 90%, 60%, 25%, 10%) ") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)" 48 PASS computedStyle("-webkit-clip-path", "rectangle(45%, 45%, 90%, 60%, 25%, 10%) ") is "rectangle(45%, 45%, 90%, 60%, 25%, 10%)"
49 PASS computedStyle("-webkit-clip-path", "ellipse(100%, 100%, 100%, 100%)") is "e llipse(100%, 100%, 100%, 100%)" 49 PASS computedStyle("-webkit-clip-path", "ellipse(100%, 100%, 100%, 100%)") is "e llipse(100%, 100%, 100%, 100%)"
50 PASS computedStyle("-webkit-clip-path", "polygon(10% 20%, 30% 40%, 40% 50%)") is "polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)" 50 PASS computedStyle("-webkit-clip-path", "polygon(10% 20%, 30% 40%, 40% 50%)") is "polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 PASS innerStyle("-webkit-clip-path", "polygon()") is null 91 PASS innerStyle("-webkit-clip-path", "polygon()") is null
92 PASS computedStyle("-webkit-clip-path", "polygon()") is "none" 92 PASS computedStyle("-webkit-clip-path", "polygon()") is "none"
93 PASS innerStyle("-webkit-clip-path", "polygon(evenodd)") is null 93 PASS innerStyle("-webkit-clip-path", "polygon(evenodd)") is null
94 PASS computedStyle("-webkit-clip-path", "polygon(evenodd)") is "none" 94 PASS computedStyle("-webkit-clip-path", "polygon(evenodd)") is "none"
95 PASS innerStyle("-webkit-clip-path", "polygon(nonzero)") is null 95 PASS innerStyle("-webkit-clip-path", "polygon(nonzero)") is null
96 PASS computedStyle("-webkit-clip-path", "polygon(nonzero)") is "none" 96 PASS computedStyle("-webkit-clip-path", "polygon(nonzero)") is "none"
97 PASS successfullyParsed is true 97 PASS successfullyParsed is true
98 98
99 TEST COMPLETE 99 TEST COMPLETE
100 100
OLDNEW
« no previous file with comments | « LayoutTests/fast/masking/parsing-clip-path-shape.html ('k') | LayoutTests/fast/shapes/parsing/parsing-shape-lengths.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698