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

Unified Diff: LayoutTests/fast/backgrounds/repeat/script-tests/parsing-background-repeat.js

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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/backgrounds/repeat/script-tests/parsing-background-repeat.js
diff --git a/LayoutTests/fast/backgrounds/repeat/script-tests/parsing-background-repeat.js b/LayoutTests/fast/backgrounds/repeat/script-tests/parsing-background-repeat.js
index 72a1331ff7acce0f6398232261e274ac96f64f13..608c866cdd53fb019d545f8bf8f83244d46c1dd0 100644
--- a/LayoutTests/fast/backgrounds/repeat/script-tests/parsing-background-repeat.js
+++ b/LayoutTests/fast/backgrounds/repeat/script-tests/parsing-background-repeat.js
@@ -27,8 +27,8 @@ shouldBe('test("background: purple url(resources/gradient.gif) repeat-x top left
shouldBe('test("background: purple url(resources/gradient.gif) repeat-y 50% 50%")', '"repeat-y"');
shouldBe('test("background: purple url(resources/gradient.gif) repeat center")', '"repeat"');
shouldBe('test("background: purple url(resources/gradient.gif) no-repeat 12px")', '"no-repeat"');
-shouldBe('test("background: purple url(resources/gradient.gif) round left 50")', '"round"');
-shouldBe('test("background: purple url(resources/gradient.gif) space 25 25")', '"space"');
+shouldBe('test("background: purple url(resources/gradient.gif) round left 50px")', '"round"');
+shouldBe('test("background: purple url(resources/gradient.gif) space 25px 25px")', '"space"');
shouldBe('test("background-repeat: 45;")', 'null');
shouldBe('test("background-repeat: coconut;")', 'null');

Powered by Google App Engine
This is Rietveld 408576698