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

Unified Diff: LayoutTests/css3/escape-dom-api-expected.txt

Issue 1330243002: CSS escape doesn't escape leading hyphen. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated patch to handle '--' Created 5 years, 3 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/css3/escape-dom-api-expected.txt
diff --git a/LayoutTests/css3/escape-dom-api-expected.txt b/LayoutTests/css3/escape-dom-api-expected.txt
index 95f066c20653b2177ef2288df71dea754206183a..0589869714ed7856ad7e69681d47911524e14bff 100644
--- a/LayoutTests/css3/escape-dom-api-expected.txt
+++ b/LayoutTests/css3/escape-dom-api-expected.txt
@@ -43,6 +43,8 @@ PASS CSS.escape('-6a') is "-\\36 a"
PASS CSS.escape('-7a') is "-\\37 a"
PASS CSS.escape('-8a') is "-\\38 a"
PASS CSS.escape('-9a') is "-\\39 a"
+PASS CSS.escape('-') is "\\-"
+PASS CSS.escape('--') is "--"
PASS CSS.escape('--a') is "--a"
PASS CSS.escape('€-_©') is "€-_©"
PASS CSS.escape('€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ') is "\\7f €‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ"

Powered by Google App Engine
This is Rietveld 408576698