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

Unified Diff: LayoutTests/fast/css/csstext-of-content-string.html

Issue 1090423007: Serialize <string> with double quotes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 5 years, 8 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/csstext-of-content-string.html
diff --git a/LayoutTests/fast/css/csstext-of-content-string.html b/LayoutTests/fast/css/csstext-of-content-string.html
index e6f6dde9bdfeb2a22fdaadc3b5777c6697df1ba1..a55d7d56cbebfa97a335fa2fc300970ddf0b8d89 100644
--- a/LayoutTests/fast/css/csstext-of-content-string.html
+++ b/LayoutTests/fast/css/csstext-of-content-string.html
@@ -20,9 +20,9 @@
description('Tests if a css text of content value is quoted when the value is string.');
var style = document.getElementById('style');
-shouldBeEqualToString("style.sheet.cssRules[0].cssText", "#A::after { content: 'A'; }");
-shouldBeEqualToString("style.sheet.cssRules[1].cssText", "#B::after { content: '\\'B\\''; }");
-shouldBeEqualToString("style.sheet.cssRules[2].cssText", "#C::after { content: '\\'C\\8\\''; }");
-shouldBeEqualToString("style.sheet.cssRules[3].cssText", "#D::after { content: '\\'D\\'' url(http://example.com/) 'EFG'; }");
+shouldBeEqualToString("style.sheet.cssRules[0].cssText", "#A::after { content: \"A\"; }");
+shouldBeEqualToString("style.sheet.cssRules[1].cssText", "#B::after { content: \"'B'\"; }");
+shouldBeEqualToString("style.sheet.cssRules[2].cssText", "#C::after { content: \"'C\\8 '\"; }");
+shouldBeEqualToString("style.sheet.cssRules[3].cssText", "#D::after { content: \"'D'\" url(http://example.com/) \"EFG\"; }");
</script>
</html>
« no previous file with comments | « LayoutTests/fast/css/content-property-serialization.html ('k') | LayoutTests/fast/css/csstext-of-content-string-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698