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

Side by Side Diff: LayoutTests/fast/shapes/parsing/parsing-shape-lengths-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 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)"
11 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, 1px, 1pt, 1pc )") is "inset-rectangle(1cm, 1mm, 1in, 1px, 1pt, 1pc)" 11 PASS getStyleValue("shape-inside", "inset-rectangle(1cm, 1mm, 1in, 1px, 1pt, 1pc )") is "inset-rectangle(1cm, 1mm, 1in, 1px, 1pt, 1pc)"
12 PASS getStyleValue("shape-inside", "circle(-1em, +1em, 1em)") is "circle(-1em, 1 em, 1em)" 12 PASS getStyleValue("shape-inside", "circle(-1em, +1em, 1em)") is "circle(-1em, 1 em, 1em)"
13 PASS getStyleValue("shape-inside", "circle(-1.5em, +1.5em, 1.5em)") is "circle(- 1.5em, 1.5em, 1.5em)" 13 PASS getStyleValue("shape-inside", "circle(-1.5em, +1.5em, 1.5em)") is "circle(- 1.5em, 1.5em, 1.5em)"
14 PASS getStyleValue("shape-inside", "circle(-.5em, +.5em, .5em)") is "circle(-0.5 em, 0.5em, 0.5em)" 14 PASS getStyleValue("shape-inside", "circle(-.5em, +.5em, .5em)") is "circle(-0.5 em, 0.5em, 0.5em)"
15 PASS getStyleValue("shape-inside", "circle(1ex, 1ex, 1ex)") is "circle(1ex, 1ex, 1ex)" 15 PASS getStyleValue("shape-inside", "circle(1ex, 1ex, 1ex)") is "circle(1ex, 1ex, 1ex)"
16 PASS getStyleValue("shape-inside", "circle(1rem, 1rem, 1rem)") is "circle(1rem, 1rem, 1rem)" 16 PASS getStyleValue("shape-inside", "circle(1rem, 1rem, 1rem)") is "circle(1rem, 1rem, 1rem)"
17 PASS getComputedStyleValue("shape-inside", "circle(.5em, 1em, 1.5em)") is "circl e(4px, 8px, 12px)" 17 PASS getComputedStyleValue("shape-inside", "circle(.5em, 1em, 1.5em)") is "circl e(4px, 8px, 12px)"
18 PASS getComputedStyleValue("shape-inside", "circle(.5rem, 1rem, 1.5rem)") is "ci rcle(8px, 16px, 24px)" 18 PASS getComputedStyleValue("shape-inside", "circle(.5rem, 1rem, 1.5rem)") is "ci rcle(8px, 16px, 24px)"
19 PASS getStyleValue("shape-inside", "circle(1vw, 1vw, 1vw)") is "circle(1vw, 1vw, 1vw)" 19 PASS getStyleValue("shape-inside", "circle(1vw, 1vw, 1vw)") is "circle(1vw, 1vw, 1vw)"
20 PASS getStyleValue("shape-inside", "circle(1vh, 1vh, 1vh)") is "circle(1vh, 1vh, 1vh)" 20 PASS getStyleValue("shape-inside", "circle(1vh, 1vh, 1vh)") is "circle(1vh, 1vh, 1vh)"
21 PASS getStyleValue("shape-inside", "circle(1vmin, 1vmin, 1vmin)") is "circle(1vm in, 1vmin, 1vmin)" 21 PASS getStyleValue("shape-inside", "circle(1vmin, 1vmin, 1vmin)") is "circle(1vm in, 1vmin, 1vmin)"
22 PASS getComputedStyleValue("shape-inside", "circle(.5vw, 1vw, 1.5vw)") is "circl e(0.5vw, 1vw, 1.5vw)" 22 PASS getComputedStyleValue("shape-inside", "circle(.5vw, 1vw, 1.5vw)") is "circl e(4px, 8px, 12px)"
23 PASS getComputedStyleValue("shape-inside", "circle(.5vh, 1vh, 1.5vh)") is "circl e(0.5vh, 1vh, 1.5vh)" 23 PASS getComputedStyleValue("shape-inside", "circle(.5vh, 1vh, 1.5vh)") is "circl e(3px, 6px, 9px)"
24 PASS getComputedStyleValue("shape-inside", "circle(.5vmin, 1vmin, 1.5vmin)") is "circle(0.5vmin, 1vmin, 1.5vmin)" 24 PASS getComputedStyleValue("shape-inside", "circle(.5vmin, 1vmin, 1.5vmin)") is "circle(3px, 6px, 9px)"
25 PASS getStyleValue("shape-inside", "circle(100%, 100%, 100%)") is "circle(100%, 100%, 100%)" 25 PASS getStyleValue("shape-inside", "circle(100%, 100%, 100%)") is "circle(100%, 100%, 100%)"
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%)"
(...skipping 28 matching lines...) Expand all
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 "auto"
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 "auto"
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 "auto"
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