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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-list-style-shorthand.html

Issue 1363233003: Make sure <url>s are being serialized according to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix interpolation tests Created 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-list-style-shorthand.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-list-style-shorthand.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-list-style-shorthand.html
index dc35cbcd66fefffaa5e290b20ff4769d3f42a975..d7efeaeeec3437b5535ed8232358002f5cee6e06 100644
--- a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-list-style-shorthand.html
+++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-list-style-shorthand.html
@@ -19,23 +19,23 @@ e = document.getElementById('test');
computedStyle = window.getComputedStyle(e, null);
e.style.listStyle = "circle outside url(dummy://test.png)";
-shouldBe("computedStyle.getPropertyValue('list-style')", "'circle outside url(dummy://test.png)'");
+shouldBeEqualToString("computedStyle.getPropertyValue('list-style')", 'circle outside url("dummy://test.png")');
e.style.listStyle = ""
e.style.listStyle = "a b c";
-shouldBe("computedStyle.getPropertyValue('list-style')", "'disc outside none'");
+shouldBeEqualToString("computedStyle.getPropertyValue('list-style')", 'disc outside none');
e.style.listStyle = "circle outside";
-shouldBe("computedStyle.getPropertyValue('list-style')", "'circle outside none'")
+shouldBeEqualToString("computedStyle.getPropertyValue('list-style')", 'circle outside none')
e.style.listStyle = "none";
-shouldBe("computedStyle.getPropertyValue('list-style')", "'none outside none'")
+shouldBeEqualToString("computedStyle.getPropertyValue('list-style')", 'none outside none')
e.style.listStyle = "";
e.style.listStyleType = "circle";
e.style.listStylePosition = "outside";
e.style.listStyleImage = "url(dummy://test.png)";
-shouldBe("computedStyle.getPropertyValue('list-style')", "'circle outside url(dummy://test.png)'");
+shouldBeEqualToString("computedStyle.getPropertyValue('list-style')", 'circle outside url("dummy://test.png")');
document.body.removeChild(testContainer);

Powered by Google App Engine
This is Rietveld 408576698