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

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

Issue 16736004: Stylesheet rule.cssText of content property should be quoted when the value is string. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
« no previous file with comments | « LayoutTests/fast/css/csstext-of-content-string.html ('k') | Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/csstext-of-content-string-expected.txt
diff --git a/LayoutTests/fast/css/csstext-of-content-string-expected.txt b/LayoutTests/fast/css/csstext-of-content-string-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30a2dd9ebb9c580808cb5b127e86f3a44a1d25e3
--- /dev/null
+++ b/LayoutTests/fast/css/csstext-of-content-string-expected.txt
@@ -0,0 +1,14 @@
+Blocked access to external URL http://example.com/
+Tests if a css text of content value is quoted when the value is string.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS style.sheet.cssRules[0].cssText is "#A::after { content: 'A'; }"
+PASS style.sheet.cssRules[1].cssText is "#B::after { content: '\\'B\\''; }"
+PASS style.sheet.cssRules[2].cssText is "#C::after { content: '\\'C\\8\\''; }"
+PASS style.sheet.cssRules[3].cssText is "#D::after { content: '\\'D\\'', url(http://example.com/), 'EFG'; }"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/css/csstext-of-content-string.html ('k') | Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698