Index: LayoutTests/fast/backgrounds/size/resources/parsing-background-size-values.js |
diff --git a/LayoutTests/fast/backgrounds/size/resources/parsing-background-size-values.js b/LayoutTests/fast/backgrounds/size/resources/parsing-background-size-values.js |
index 86f61d1bed8820c01da8ff8ee9a3bca2bae622bc..d1da0b55f9d2de20496c0e62679e958b4b91e672 100644 |
--- a/LayoutTests/fast/backgrounds/size/resources/parsing-background-size-values.js |
+++ b/LayoutTests/fast/backgrounds/size/resources/parsing-background-size-values.js |
@@ -13,7 +13,7 @@ function test(value) |
shouldBe('test("background-size: contain;")', '"contain"'); |
shouldBe('test("background-size: cover;")', '"cover"'); |
-shouldBe('test("background-size: 100 100;")', 'null'); |
+shouldBeEqualToString('test("background-size: 100 100;")', ''); |
shouldBe('test("background-size: 100px 100px;")', '"100px 100px"'); |
shouldBe('test("background-size: auto 50px;")', '"auto 50px"'); |
shouldBe('test("background-size: 50px auto;")', '"50px"'); |
@@ -23,10 +23,10 @@ shouldBe('test("background-size: 4em auto;")', '"4em"'); |
shouldBe('test("background-size: 5em;")', '"5em"'); |
shouldBe('test("-webkit-background-size: 5em ;")', '"5em 5em"'); |
-shouldBe('test("background-size: 100px 100px 100px;")', 'null'); |
-shouldBe('test("background-size: coconut;")', 'null'); |
+shouldBeEqualToString('test("background-size: 100px 100px 100px;")', ''); |
+shouldBeEqualToString('test("background-size: coconut;")', ''); |
-shouldBe('test("background-size: 100px,;")', 'null'); |
+shouldBeEqualToString('test("background-size: 100px,;")', ''); |
shouldBe('test("background-size: 100px, 50%;")', '"100px, 50%"'); |
shouldBe('test("-webkit-background-size: 100px, 50%;")', '"100px, 50% 50%"'); |
shouldBe('test("background-size: 50% 100px, 2em, 100px 50%;")', '"50% 100px, 2em, 100px 50%"'); |