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

Side by Side Diff: LayoutTests/fast/css/parsing-object-position-expected.txt

Issue 24077007: Add support for the object-position CSS property. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase master again Created 7 years, 3 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
(Empty)
1 This tests checks that all of the input values for object-position parse correct ly.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS testComputedStyle(";") is "50% 50%"
7 PASS testComputedStyle("object-position: 10px;") is "10px 50%"
8 PASS testComputedStyle("object-position: 10px 10px;") is "10px 10px"
9 PASS testComputedStyle("object-position: right top;") is "100% 0%"
10 PASS testComputedStyle("object-position: top right;") is "100% 0%"
11 PASS test("object-position: inherit;") is "inherit"
12 PASS test("object-position: initial;") is "initial"
13 PASS test("object-position: left;") is "0% 50%"
14 PASS test("object-position: top;") is "50% 0%"
15 PASS test("object-position: top right;") is "100% 0%"
16 PASS test("object-position: right top;") is "100% 0%"
17 PASS test("object-position: center center;") is "50% 50%"
18 PASS test("object-position: center;") is "50% 50%"
19 PASS test("object-position: bottom center;") is "50% 100%"
20 PASS test("object-position: left center;") is "0% 50%"
21 PASS test("object-position: bottom center;") is "50% 100%"
22 PASS test("object-position: center left;") is "0% 50%"
23 PASS test("object-position: center bottom;") is "50% 100%"
24 PASS test("object-position: 100px;") is "100px 50%"
25 PASS test("object-position: 100px 100px;") is "100px 100px"
26 PASS test("object-position: 100px 200px;") is "100px 200px"
27 PASS test("object-position: -50% 0;") is "-50% 0px"
28 PASS test("object-position: 3em 0;") is "3em 0px"
29 PASS test("object-position: left 33px;") is "0% 33px"
30 PASS test("object-position: center 33px;") is "50% 33px"
31 PASS test("object-position: 33px center;") is "33px 50%"
32 PASS test("object-position: 33px bottom;") is "33px 100%"
33 PASS test("object-position: 1vh 1vw;") is "1vh 1vw"
34 PASS test("object-position: 100px 100px 100px;") is null
35 PASS test("object-position: 100px 100px 200px 200px;") is null
36 PASS test("object-position: top left center;") is null
37 PASS test("object-position: top top;") is null
38 PASS test("object-position: top bottom;") is null
39 PASS test("object-position: 33px left;") is null
40 PASS test("object-position: top 33px;") is null
41 PASS test("object-position: inherit inherit;") is null
42 PASS test("object-position: initial initial;") is null
43 PASS test("object-position: -webkit-fill-available;") is null
44 PASS test("object-position: min-content;") is null
45 PASS test("object-position: intrinsic;") is null
46 PASS test("object-position: auto;") is null
47 PASS test("object-position: none;") is null
48 PASS test("object-position: fill;") is null
49 PASS successfullyParsed is true
50
51 TEST COMPLETE
52
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/parsing-object-position.html ('k') | LayoutTests/fast/css/resources/circle-small.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698