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

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

Issue 1274643002: CSSStyleDeclaraction returns empty string (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed changes from imported/csswg-test Created 5 years, 4 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-outside", "circle(0 at 0 0)") is "circle(0px at 0% 0%) " 6 PASS getStyleValue("shape-outside", "circle(0 at 0 0)") is "circle(0px at 0% 0%) "
7 PASS getStyleValue("shape-outside", "circle(1px at +1px -1px)") is "circle(1px a t 1px -1px)" 7 PASS getStyleValue("shape-outside", "circle(1px at +1px -1px)") is "circle(1px a t 1px -1px)"
8 PASS getStyleValue("shape-outside", "circle(1.5px at -1.5px +1.5px)") is "circle (1.5px at -1.5px 1.5px)" 8 PASS getStyleValue("shape-outside", "circle(1.5px at -1.5px +1.5px)") is "circle (1.5px at -1.5px 1.5px)"
9 PASS getStyleValue("shape-outside", "circle(.5px at -.5px +.5px)") is "circle(0. 5px at -0.5px 0.5px)" 9 PASS getStyleValue("shape-outside", "circle(.5px at -.5px +.5px)") is "circle(0. 5px at -0.5px 0.5px)"
10 PASS getStyleValue("shape-outside", "inset(1cm 1mm 1in 1px round 1pt 1pc)") is " inset(1cm 1mm 1in 1px round 1pt 1pc)" 10 PASS getStyleValue("shape-outside", "inset(1cm 1mm 1in 1px round 1pt 1pc)") is " inset(1cm 1mm 1in 1px round 1pt 1pc)"
(...skipping 15 matching lines...) Expand all
26 PASS getComputedStyleValue("shape-outside", "circle(1.5vh at .5vh 1vh)") is "cir cle(9px at 3px 6px)" 26 PASS getComputedStyleValue("shape-outside", "circle(1.5vh at .5vh 1vh)") is "cir cle(9px at 3px 6px)"
27 PASS getComputedStyleValue("shape-outside", "circle(1.5vmin at .5vmin 1vmin)") i s "circle(9px at 3px 6px)" 27 PASS getComputedStyleValue("shape-outside", "circle(1.5vmin at .5vmin 1vmin)") i s "circle(9px at 3px 6px)"
28 PASS getStyleValue("shape-outside", "circle(100% at 100% 100%)") is "circle(100% at 100% 100%)" 28 PASS getStyleValue("shape-outside", "circle(100% at 100% 100%)") is "circle(100% at 100% 100%)"
29 PASS getStyleValue("shape-outside", "inset(45% 45% 90% 60% round 25% 10%)") is " inset(45% 45% 90% 60% round 25% 10%)" 29 PASS getStyleValue("shape-outside", "inset(45% 45% 90% 60% round 25% 10%)") is " inset(45% 45% 90% 60% round 25% 10%)"
30 PASS getStyleValue("shape-outside", "ellipse(100% 100% at 100% 100%)") is "ellip se(100% 100% at 100% 100%)" 30 PASS getStyleValue("shape-outside", "ellipse(100% 100% at 100% 100%)") is "ellip se(100% 100% at 100% 100%)"
31 PASS getStyleValue("shape-outside", "polygon(10% 20%, 30% 40%, 40% 50%)") is "po lygon(10% 20%, 30% 40%, 40% 50%)" 31 PASS getStyleValue("shape-outside", "polygon(10% 20%, 30% 40%, 40% 50%)") is "po lygon(10% 20%, 30% 40%, 40% 50%)"
32 PASS getComputedStyleValue("shape-outside", "circle(150% at 50% 100%)") is "circ le(150% at 50% 100%)" 32 PASS getComputedStyleValue("shape-outside", "circle(150% at 50% 100%)") is "circ le(150% at 50% 100%)"
33 PASS getComputedStyleValue("shape-outside", "inset(45% 45% 90% 60% round 25% 10% )") is "inset(45% 45% 90% 60% round 25% 10%)" 33 PASS getComputedStyleValue("shape-outside", "inset(45% 45% 90% 60% round 25% 10% )") is "inset(45% 45% 90% 60% round 25% 10%)"
34 PASS getComputedStyleValue("shape-outside", "ellipse(100% 100% at 100% 100%)") i s "ellipse(100% 100% at 100% 100%)" 34 PASS getComputedStyleValue("shape-outside", "ellipse(100% 100% at 100% 100%)") i s "ellipse(100% 100% at 100% 100%)"
35 PASS getComputedStyleValue("shape-outside", "polygon(10% 20%, 30% 40%, 40% 50%)" ) is "polygon(10% 20%, 30% 40%, 40% 50%)" 35 PASS getComputedStyleValue("shape-outside", "polygon(10% 20%, 30% 40%, 40% 50%)" ) is "polygon(10% 20%, 30% 40%, 40% 50%)"
36 PASS getStyleValue("shape-outside", "circle(1 at 1px 1px)") is null 36 PASS getStyleValue("shape-outside", "circle(1 at 1px 1px)") is ""
37 PASS getComputedStyleValue("shape-outside", "circle(1 at 1px 1px)") is "none" 37 PASS getComputedStyleValue("shape-outside", "circle(1 at 1px 1px)") is "none"
38 PASS getStyleValue("shape-outside", "circle(px at 1px 1px)") is null 38 PASS getStyleValue("shape-outside", "circle(px at 1px 1px)") is ""
39 PASS getComputedStyleValue("shape-outside", "circle(px at 1px 1px)") is "none" 39 PASS getComputedStyleValue("shape-outside", "circle(px at 1px 1px)") is "none"
40 PASS getStyleValue("shape-outside", "circle(1p at 1px 1px)") is null 40 PASS getStyleValue("shape-outside", "circle(1p at 1px 1px)") is ""
41 PASS getComputedStyleValue("shape-outside", "circle(1p at 1px 1px)") is "none" 41 PASS getComputedStyleValue("shape-outside", "circle(1p at 1px 1px)") is "none"
42 PASS getStyleValue("shape-outside", "circle(calc( at 1px 1px))") is null 42 PASS getStyleValue("shape-outside", "circle(calc( at 1px 1px))") is ""
43 PASS getComputedStyleValue("shape-outside", "circle(calc( at 1px 1px))") is "non e" 43 PASS getComputedStyleValue("shape-outside", "circle(calc( at 1px 1px))") is "non e"
44 PASS getStyleValue("shape-outside", "circle(-1.5px at -1.5px +1.5px)") is null 44 PASS getStyleValue("shape-outside", "circle(-1.5px at -1.5px +1.5px)") is ""
45 PASS getComputedStyleValue("shape-outside", "circle(-1.5px at -1.5px +1.5px)") i s "none" 45 PASS getComputedStyleValue("shape-outside", "circle(-1.5px at -1.5px +1.5px)") i s "none"
46 PASS getStyleValue("shape-outside", "inset(1cm 1mm 1in 1px round 1pt -1pc)") is null 46 PASS getStyleValue("shape-outside", "inset(1cm 1mm 1in 1px round 1pt -1pc)") is ""
47 PASS getComputedStyleValue("shape-outside", "inset(1cm 1mm 1in 1px round 1pt -1p c)") is "none" 47 PASS getComputedStyleValue("shape-outside", "inset(1cm 1mm 1in 1px round 1pt -1p c)") is "none"
48 PASS getStyleValue("shape-outside", "ellipse(-1em 1em at 1em 1em)") is null 48 PASS getStyleValue("shape-outside", "ellipse(-1em 1em at 1em 1em)") is ""
49 PASS getComputedStyleValue("shape-outside", "ellipse(-1em 1em at 1em 1em)") is " none" 49 PASS getComputedStyleValue("shape-outside", "ellipse(-1em 1em at 1em 1em)") is " none"
50 PASS getStyleValue("shape-outside", "ellipse(1em -1em at 1em 1em)") is null 50 PASS getStyleValue("shape-outside", "ellipse(1em -1em at 1em 1em)") is ""
51 PASS getComputedStyleValue("shape-outside", "ellipse(1em -1em at 1em 1em)") is " none" 51 PASS getComputedStyleValue("shape-outside", "ellipse(1em -1em at 1em 1em)") is " none"
52 PASS successfullyParsed is true 52 PASS successfullyParsed is true
53 53
54 TEST COMPLETE 54 TEST COMPLETE
55 55
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698