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

Unified Diff: LayoutTests/fast/css/content-language-dynamically-added.html

Issue 973623002: Fix serialization of content property to always quote (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add another method Created 5 years, 10 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/content-language-dynamically-added.html
diff --git a/LayoutTests/fast/css/content-language-dynamically-added.html b/LayoutTests/fast/css/content-language-dynamically-added.html
index 2e87f5e25f7e38a856abc6db8c3296ad2c70658e..f9f3e6a1785ad38ec45a315996f42c26aacde524 100644
--- a/LayoutTests/fast/css/content-language-dynamically-added.html
+++ b/LayoutTests/fast/css/content-language-dynamically-added.html
@@ -23,14 +23,14 @@ function languageOfNode(id) {
return window.getComputedStyle(element).webkitLocale;
}
shouldBeEqualToString("languageOfNode('x')", "auto");
-shouldBeEqualToString("languageOfNode('y')", "ar");
+shouldBeEqualToString("languageOfNode('y')", "'ar'");
var meta = document.createElement("meta");
meta.httpEquiv = "content-language";
meta.content = "ja";
document.getElementById("head").appendChild(meta);
-shouldBeEqualToString("languageOfNode('x')", "ja");
-shouldBeEqualToString("languageOfNode('y')", "ar");
+shouldBeEqualToString("languageOfNode('x')", "'ja'");
+shouldBeEqualToString("languageOfNode('y')", "'ar'");
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698