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

Side by Side Diff: LayoutTests/fast/backgrounds/size/parsing-inherit-expected.txt

Issue 764703002: Support unit-less lengths for white-list of properties only. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: min-width/height still accepts unitless lengths Created 5 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 This test checks that background-size:inherit properly inherits all values. 1 This test checks that background-size:inherit properly inherits all values.
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 test("background-size: contain;") is "contain" 6 PASS test("background-size: contain;") is "contain"
7 PASS test("background-size: cover;") is "cover" 7 PASS test("background-size: cover;") is "cover"
8 PASS test("background-size: 100 100;") is "100px 100px" 8 PASS test("background-size: 100 100;") is "auto"
9 PASS test("background-size: 100px 100px;") is "100px 100px" 9 PASS test("background-size: 100px 100px;") is "100px 100px"
10 PASS test("background-size: auto 50px;") is "auto 50px" 10 PASS test("background-size: auto 50px;") is "auto 50px"
11 PASS test("background-size: 50px auto;") is "50px" 11 PASS test("background-size: 50px auto;") is "50px"
12 PASS test("background-size: auto auto;") is "auto" 12 PASS test("background-size: auto auto;") is "auto"
13 PASS test("background-size: 30% 20%;") is "30% 20%" 13 PASS test("background-size: 30% 20%;") is "30% 20%"
14 PASS test("background-size: 4em auto;") is "64px" 14 PASS test("background-size: 4em auto;") is "64px"
15 PASS test("background-size: 5em ;") is "80px" 15 PASS test("background-size: 5em ;") is "80px"
16 PASS test("-webkit-background-size: 5em ;") is "80px 80px" 16 PASS test("-webkit-background-size: 5em ;") is "80px 80px"
17 PASS test("background-size: 100 100 100;") is "auto" 17 PASS test("background-size: 100px 100px 100px;") is "auto"
18 PASS test("background-size: coconut;") is "auto" 18 PASS test("background-size: coconut;") is "auto"
19 PASS successfullyParsed is true 19 PASS successfullyParsed is true
20 20
21 TEST COMPLETE 21 TEST COMPLETE
22 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698