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

Unified Diff: third_party/WebKit/LayoutTests/css-parser/content-parsing.html

Issue 1824283002: Ensure that we don't allow 'normal' alongside other values in content property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/LayoutTests/css-parser/content-parsing.html
diff --git a/third_party/WebKit/LayoutTests/css-parser/content-parsing.html b/third_party/WebKit/LayoutTests/css-parser/content-parsing.html
index 9c4bcdf76bbb02b8937c8ace9e7ef44913a3207a..f1899602cd5b3fb8b3740bb2b35aac8376c1aa74 100644
--- a/third_party/WebKit/LayoutTests/css-parser/content-parsing.html
+++ b/third_party/WebKit/LayoutTests/css-parser/content-parsing.html
@@ -5,6 +5,13 @@
<script>
assert_valid_value("content", '"a"');
assert_valid_value("content", "open-quote");
+assert_valid_value("content", "normal");
+assert_valid_value("content", 'url("test.html")');
+
+assert_invalid_value("content", 'normal normal');
+assert_invalid_value("content", 'normal "a"');
Timothy Loh 2016/03/24 04:38:41 should at least have one test case with normal as
nainar 2016/03/29 00:56:39 Done.
+assert_invalid_value("content", 'normal url("test.html")');
+assert_invalid_value("content", "normal 'open-quote;");
Timothy Loh 2016/03/24 04:38:41 not sure what this case is trying to test with mis
assert_invalid_value("content", "not valid content");
assert_invalid_value("content", "open-quote invalid content");
assert_invalid_value("content", '"a" still not valid');

Powered by Google App Engine
This is Rietveld 408576698