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

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

Issue 545173003: Support scientific notation in CSS numbers/percentages/dimensions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop parseSVGNumber; Add additional TC. Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/css-parser/resources/property-parsing-test.js » ('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("counterIncrement", "hello world 999"); 6 assert_valid_value("counterIncrement", "hello world 999", "hello 1, world 999");
7 assert_invalid_value("counterIncrement", 'hello "world"'); 7 assert_invalid_value("counterIncrement", 'hello "world"');
8 assert_invalid_value("counterIncrement", "40"); 8 assert_invalid_value("counterIncrement", "40");
9 assert_invalid_value("counterReset", 'c 10 20'); 9 assert_invalid_value("counterReset", 'c 10 20');
10 assert_invalid_value("counterReset", "c + 5"); 10 assert_invalid_value("counterReset", "c + 5");
11 </script> 11 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css-parser/resources/property-parsing-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698