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

Unified Diff: LayoutTests/fast/css/css-escaped-identifier.html

Issue 1355263002: Make sure <url>s are being serialized according to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@urlThing161644
Patch Set: 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: LayoutTests/fast/css/css-escaped-identifier.html
diff --git a/LayoutTests/fast/css/css-escaped-identifier.html b/LayoutTests/fast/css/css-escaped-identifier.html
index e73841352441bc264df37ea08e9901a519650fe5..e1e936bc236ac527cfaf00d515e34e5447b7b317 100644
--- a/LayoutTests/fast/css/css-escaped-identifier.html
+++ b/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