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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/css-escaped-identifier.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/css-escaped-identifier.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/css-escaped-identifier.html b/third_party/WebKit/LayoutTests/fast/css/css-escaped-identifier.html
index e73841352441bc264df37ea08e9901a519650fe5..cf2ff709174bc792252ce7ef6298d928046e5de9 100644
--- a/third_party/WebKit/LayoutTests/fast/css/css-escaped-identifier.html
+++ b/third_party/WebKit/LayoutTests/fast/css/css-escaped-identifier.html
@@ -21,8 +21,8 @@
assert_equals(rules.length, 4, "cssRules.length == 4");
assert_equals(rules[0].selectorText, "d\ueeeex", "Lowercase identifier with escapes");
assert_equals(rules[1].selectorText, "d\ueeeex", "Uppercase identifier with escapes");
- assert_equals(rules[2].style.cssText, "background-image: url(http://w/" + decodeURIComponent("%EA%AA%AA") + "/1b" + decodeURIComponent("%EA%AA%AA") + ".gif);", "Escaped url string");
- assert_equals(rules[3].style.cssText, "background-image: url(http://w/" + decodeURIComponent("%EA%AA%AA") + "/1b" + decodeURIComponent("%EA%AA%AA") + ".gif);", "Escaped url without string");
+ assert_equals(rules[2].style.cssText, 'background-image: url("http://w/' + decodeURIComponent("%EA%AA%AA") + "/1b" + decodeURIComponent("%EA%AA%AA") + '.gif");', "Escaped url string");
+ assert_equals(rules[3].style.cssText, 'background-image: url("http://w/' + decodeURIComponent("%EA%AA%AA") + "/1b" + decodeURIComponent("%EA%AA%AA") + '.gif");', "Escaped url without string");
}, "Correctly parsed identifier with escapes");
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698