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

Side by Side Diff: third_party/WebKit/LayoutTests/css-parser/counter-parsing.html

Issue 1541443002: Fix small bugs in new CSS Property parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: V4 Created 5 years 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
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("counterIncrement", "hello world 999", "hello 1, world 999"); 6 assert_valid_value("counterIncrement", "hello world 999", "hello 1 world 999");
7 assert_valid_value("counterIncrement", "a 1234567");
7 assert_invalid_value("counterIncrement", 'hello "world"'); 8 assert_invalid_value("counterIncrement", 'hello "world"');
8 assert_invalid_value("counterIncrement", "40"); 9 assert_invalid_value("counterIncrement", "40");
9 assert_invalid_value("counterReset", 'c 10 20'); 10 assert_invalid_value("counterReset", 'c 10 20');
10 assert_invalid_value("counterReset", "c + 5"); 11 assert_invalid_value("counterReset", "c + 5");
11 </script> 12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698