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

Side by Side Diff: LayoutTests/fast/css/parsing-object-fit.html

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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("This tests checks that all of the input values for obje ct-fit parse correctly."); 8 description("This tests checks that all of the input values for obje ct-fit parse correctly.");
9 9
10 function test(value) 10 function test(value)
(...skipping 20 matching lines...) Expand all
31 31
32 shouldBe('testComputedStyle(";")', '"fill"'); 32 shouldBe('testComputedStyle(";")', '"fill"');
33 shouldBe('test("object-fit: inherit;")', '"inherit"'); 33 shouldBe('test("object-fit: inherit;")', '"inherit"');
34 shouldBe('test("object-fit: initial;")', '"initial"'); 34 shouldBe('test("object-fit: initial;")', '"initial"');
35 shouldBe('test("object-fit: fill;")', '"fill"'); 35 shouldBe('test("object-fit: fill;")', '"fill"');
36 shouldBe('test("object-fit: contain;")', '"contain"'); 36 shouldBe('test("object-fit: contain;")', '"contain"');
37 shouldBe('test("object-fit: cover;")', '"cover"'); 37 shouldBe('test("object-fit: cover;")', '"cover"');
38 shouldBe('test("object-fit: none;")', '"none"'); 38 shouldBe('test("object-fit: none;")', '"none"');
39 shouldBe('test("object-fit: scale-down;")', '"scale-down"'); 39 shouldBe('test("object-fit: scale-down;")', '"scale-down"');
40 40
41 shouldBeNull('test("object-fit: fill contain;")'); 41 shouldBeEqualToString('test("object-fit: fill contain;")', '');
42 shouldBeNull('test("object-fit: bananas;")'); 42 shouldBeEqualToString('test("object-fit: bananas;")', '');
43 shouldBeNull('test("object-fit: 23px;")'); 43 shouldBeEqualToString('test("object-fit: 23px;")', '');
44 shouldBeNull('test("object-fit: 20%;")'); 44 shouldBeEqualToString('test("object-fit: 20%;")', '');
45 </script> 45 </script>
46 </body> 46 </body>
47 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698