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

Side by Side 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, 8 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <script src="../resources/testharness.js"></script> 2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 3 <script src="../resources/testharnessreport.js"></script>
4 <script src="resources/property-parsing-test.js"></script> 4 <script src="resources/property-parsing-test.js"></script>
5 <script> 5 <script>
6 assert_valid_value("content", '"a"'); 6 assert_valid_value("content", '"a"');
7 assert_valid_value("content", "open-quote"); 7 assert_valid_value("content", "open-quote");
8 assert_valid_value("content", "normal");
9 assert_valid_value("content", 'url("test.html")');
10
11 assert_invalid_value("content", 'normal normal');
12 assert_invalid_value("content", 'normal "a"');
13 assert_invalid_value("content", 'normal url("test.html")');
14 assert_invalid_value("content", "normal open-quote");
15 assert_invalid_value("content", '"a" normal');
16 assert_invalid_value("content", 'url("test.html") normal');
17 assert_invalid_value("content", "'open-quote' normal");
8 assert_invalid_value("content", "not valid content"); 18 assert_invalid_value("content", "not valid content");
9 assert_invalid_value("content", "open-quote invalid content"); 19 assert_invalid_value("content", "open-quote invalid content");
10 assert_invalid_value("content", '"a" still not valid'); 20 assert_invalid_value("content", '"a" still not valid');
11 assert_invalid_value("content", 'bla &@#$&^'); 21 assert_invalid_value("content", 'bla &@#$&^');
12 assert_invalid_value("content", "'foo' *(&^"); 22 assert_invalid_value("content", "'foo' *(&^");
13 assert_invalid_value("content", "open-quote 1+2+3=6"); 23 assert_invalid_value("content", "open-quote 1+2+3=6");
14 </script> 24 </script>
OLDNEW
« 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