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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/cursor-parsing-image-set.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/cursor-parsing-image-set.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/cursor-parsing-image-set.html b/third_party/WebKit/LayoutTests/fast/css/cursor-parsing-image-set.html
index c74de4d812a202e2b93f76691bdfe26892e1879e..041e34214e84da2c4cb9a4d2195da50617e1813f 100644
--- a/third_party/WebKit/LayoutTests/fast/css/cursor-parsing-image-set.html
+++ b/third_party/WebKit/LayoutTests/fast/css/cursor-parsing-image-set.html
@@ -18,7 +18,7 @@ function makeCursorRule(rule)
function testCursorRule(rule)
{
var cssText = makeCursorRule(rule);
- shouldBeEqualToString('roundtripCssRule("' + cssText + '")', cssText);
+ shouldBeEqualToString('roundtripCssRule(`' + cssText + '`)', cssText);
}
function roundtripCssRule(cssText)
@@ -36,10 +36,10 @@ function roundtripCssRule(cssText)
// to avoid triggering any network activity.
debug('Test a bunch of cursor rules which should round-trip exactly.');
-testCursorRule('-webkit-image-set(url(file:///foo.png) 1x), auto');
-testCursorRule('-webkit-image-set(url(file:///foo.png) 1x, url(file:///foo2x.png) 2x), auto');
-testCursorRule('-webkit-image-set(url(file:///foo.png) 1x, url(file:///foo2x.png) 2x) 2 3, auto');
-testCursorRule('-webkit-image-set(url(file:///foo03.png) 0.3x, url(file:///foo5x.png) 5x) 6 5, url(file:///foo.png) 12 3, pointer');
+testCursorRule('-webkit-image-set(url("file:///foo.png") 1x), auto');
+testCursorRule('-webkit-image-set(url("file:///foo.png") 1x, url("file:///foo2x.png") 2x), auto');
+testCursorRule('-webkit-image-set(url("file:///foo.png") 1x, url("file:///foo2x.png") 2x) 2 3, auto');
+testCursorRule('-webkit-image-set(url("file:///foo03.png") 0.3x, url("file:///foo5x.png") 5x) 6 5, url("file:///foo.png") 12 3, pointer');
successfullyParsed = true;
</script>

Powered by Google App Engine
This is Rietveld 408576698