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

Unified Diff: LayoutTests/fast/css/content-language-dynamically-removed.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-removed.html
diff --git a/LayoutTests/fast/css/content-language-dynamically-removed.html b/LayoutTests/fast/css/content-language-dynamically-removed.html
index 729bd82de642597180e17d11f7668afef32c723d..6f8da8e4b2f41c9c55deda623465a99a015ae33d 100644
--- a/LayoutTests/fast/css/content-language-dynamically-removed.html
+++ b/LayoutTests/fast/css/content-language-dynamically-removed.html
@@ -23,14 +23,14 @@ function languageOfNode(id) {
var element = document.getElementById(id);
return window.getComputedStyle(element).webkitLocale;
}
-shouldBeEqualToString("languageOfNode('x')", "zh");
-shouldBeEqualToString("languageOfNode('y')", "ar");
+shouldBeEqualToString("languageOfNode('x')", "'zh'");
+shouldBeEqualToString("languageOfNode('y')", "'ar'");
var meta = document.getElementById("target");
var parent = meta.parentNode;
meta.parentNode.removeChild(meta);
-shouldBeEqualToString("languageOfNode('x')", "zh");
-shouldBeEqualToString("languageOfNode('y')", "ar");
+shouldBeEqualToString("languageOfNode('x')", "'zh'");
+shouldBeEqualToString("languageOfNode('y')", "'ar'");
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698