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

Unified Diff: LayoutTests/fast/css/lang-mapped-to-webkit-locale.xhtml

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/lang-mapped-to-webkit-locale.xhtml
diff --git a/LayoutTests/fast/css/lang-mapped-to-webkit-locale.xhtml b/LayoutTests/fast/css/lang-mapped-to-webkit-locale.xhtml
index 5af20afb54b26b5917e4e60ebafb0bc6b6c578fd..90dfab85ba71e4c61c2970c9f06f5809cf69ef4d 100644
--- a/LayoutTests/fast/css/lang-mapped-to-webkit-locale.xhtml
+++ b/LayoutTests/fast/css/lang-mapped-to-webkit-locale.xhtml
@@ -27,28 +27,28 @@ function languageOfNode(id) {
var element = document.getElementById(id);
return window.getComputedStyle(element).webkitLocale;
}
-shouldBeEqualToString("languageOfNode('x1')", "ja");
-shouldBeEqualToString("languageOfNode('x2')", "ja");
-shouldBeEqualToString("languageOfNode('x3')", "ja");
-shouldBeEqualToString("languageOfNode('l1')", "zh");
-shouldBeEqualToString("languageOfNode('l2')", "zh");
-shouldBeEqualToString("languageOfNode('l3')", "zh");
-shouldBeEqualToString("languageOfNode('m1')", "ko");
-shouldBeEqualToString("languageOfNode('m2')", "fr");
-shouldBeEqualToString("languageOfNode('m3')", "fr");
-shouldBeEqualToString("languageOfNode('n1')", "fr");
-shouldBeEqualToString("languageOfNode('n2')", "fr");
-shouldBeEqualToString("languageOfNode('n3')", "sv");
-shouldBeEqualToString("languageOfNode('p1')", "ja");
+shouldBeEqualToString("languageOfNode('x1')", "'ja'");
+shouldBeEqualToString("languageOfNode('x2')", "'ja'");
+shouldBeEqualToString("languageOfNode('x3')", "'ja'");
+shouldBeEqualToString("languageOfNode('l1')", "'zh'");
+shouldBeEqualToString("languageOfNode('l2')", "'zh'");
+shouldBeEqualToString("languageOfNode('l3')", "'zh'");
+shouldBeEqualToString("languageOfNode('m1')", "'ko'");
+shouldBeEqualToString("languageOfNode('m2')", "'fr'");
+shouldBeEqualToString("languageOfNode('m3')", "'fr'");
+shouldBeEqualToString("languageOfNode('n1')", "'fr'");
+shouldBeEqualToString("languageOfNode('n2')", "'fr'");
+shouldBeEqualToString("languageOfNode('n3')", "'sv'");
+shouldBeEqualToString("languageOfNode('p1')", "'ja'");
shouldBeEqualToString("languageOfNode('p2')", "auto");
-shouldBeEqualToString("languageOfNode('q1')", "ja");
+shouldBeEqualToString("languageOfNode('q1')", "'ja'");
shouldBeEqualToString("languageOfNode('q2')", "auto");
shouldBeEqualToString("languageOfNode('q3')", "auto");
-shouldBeEqualToString("languageOfNode('q4')", "ar");
+shouldBeEqualToString("languageOfNode('q4')", "'ar'");
shouldBeEqualToString("languageOfNode('q5')", "auto");
shouldBeEqualToString("languageOfNode('q6')", "' '");
-shouldBeEqualToString("languageOfNode('q7')", "auto");
-shouldBeEqualToString("languageOfNode('q8')", "xyzzy");
+shouldBeEqualToString("languageOfNode('q7')", "'auto'");
+shouldBeEqualToString("languageOfNode('q8')", "'xyzzy'");
shouldBeEqualToString("languageOfNode('q9')", "'][;][['");
var successfullyParsed = true;

Powered by Google App Engine
This is Rietveld 408576698