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

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

Issue 1837413002: Ensure that we don't allow 'none' 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 120e377a5776360a4480587c344fa5afaaa3065a..eadb69d4d614550adc12099325767d2c8e0f7c59 100644
--- a/third_party/WebKit/LayoutTests/css-parser/content-parsing.html
+++ b/third_party/WebKit/LayoutTests/css-parser/content-parsing.html
@@ -6,6 +6,7 @@
assert_valid_value("content", '"a"');
assert_valid_value("content", "open-quote");
assert_valid_value("content", "normal");
+assert_valid_value("content", "none");
assert_valid_value("content", 'url("test.html")');
assert_invalid_value("content", 'normal normal');
@@ -15,6 +16,16 @@ assert_invalid_value("content", "normal open-quote");
assert_invalid_value("content", '"a" normal');
assert_invalid_value("content", 'url("test.html") normal');
assert_invalid_value("content", "'open-quote' normal");
+assert_invalid_value("content", 'normal none');
+assert_invalid_value("content", 'none normal');
+assert_invalid_value("content", 'none none');
+assert_invalid_value("content", 'none "a"');
+assert_invalid_value("content", 'none url("test.html")');
+assert_invalid_value("content", "none open-quote");
+assert_invalid_value("content", "none open-quote");
Timothy Loh 2016/03/30 02:53:28 repeated test :|
nainar 2016/03/30 03:27:36 Removed.
+assert_invalid_value("content", '"a" none');
+assert_invalid_value("content", 'url("test.html") none');
+assert_invalid_value("content", "open-quote none");
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