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

Side by Side Diff: third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html

Issue 1386733003: Do not accept CSS-wide keywords for descriptors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing Created 4 years, 6 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/Source/build/scripts/css_properties.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script src="resources/property-parsing-test.js"></script>
5 <script>
6
7 function testDescriptors(keyword) {
8 assert_invalid_value("src", keyword);
9 assert_invalid_value("orientation", keyword);
10 assert_invalid_value("min-zoom", keyword);
11 assert_invalid_value("max-zoom", keyword);
12 assert_invalid_value("user-zoom", keyword);
13 assert_invalid_value("unicode-range", keyword);
14 assert_invalid_value("font-display", keyword);
15 }
16
17 testDescriptors("initial");
18 testDescriptors("inherit");
19 testDescriptors("unset");
20 testDescriptors("INITIAL");
21 testDescriptors("INHERIT");
22 testDescriptors("UNSET");
23 testDescriptors("iNiTiAl");
24 testDescriptors("iNhErIt");
25 testDescriptors("uNsEt");
26 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/build/scripts/css_properties.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698