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

Unified Diff: Source/core/css/parser/CSSTokenizerTest.cpp

Issue 649493003: CSS Tokenizer: Consume a single whitespace after escapes if present (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@getfraction
Patch Set: Created 6 years, 2 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 | « Source/core/css/parser/CSSTokenizer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSTokenizerTest.cpp
diff --git a/Source/core/css/parser/CSSTokenizerTest.cpp b/Source/core/css/parser/CSSTokenizerTest.cpp
index 34cccd684094fd01d08ccd0bad8e9c68e93f23d7..4b3956b76e44621d5c304afa320779ea2ce157a0 100644
--- a/Source/core/css/parser/CSSTokenizerTest.cpp
+++ b/Source/core/css/parser/CSSTokenizerTest.cpp
@@ -62,6 +62,10 @@ TEST(CSSTokenizerTest, Basic)
{ "5.", "5'.'" },
{ "5.0e-1", "0.500000" },
{ "5.e-1", "5'.'e-1" },
+ { "hel\\6co", "hello" },
+ { "wor\\6c d", "world" },
+ { "wor\\6c\r\nd", "world" },
+ { "wor\\6c\n\rd", "worl d" },
Yoav Weiss 2014/10/20 07:42:07 Can you add tests for '\f' and '\t' as well?
Timothy Loh 2014/10/20 13:05:15 Done.
{ 0, 0 } // Do not remove the terminator line.
};
« no previous file with comments | « Source/core/css/parser/CSSTokenizer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698