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

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: update tests 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..6b414561f118eb34978dd0bac95159c796d2e74e 100644
--- a/Source/core/css/parser/CSSTokenizerTest.cpp
+++ b/Source/core/css/parser/CSSTokenizerTest.cpp
@@ -62,6 +62,11 @@ 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 wor\\6c\n\rd", "world worl d" },
+ { "cod\\65point esca\\70\fe \\74\test", "codepoint escape test" },
+ { "esca\\70\f\te \\74 \nest", "escap e t est" },
{ 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