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

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css-parser/content-parsing-invalid.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c6893cfedb87f498e9a2a9854218047651ef3036 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,15 @@ 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", '"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');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css-parser/content-parsing-invalid.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698