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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/parser/whitespace-length.html

Issue 2118903003: Relocate tests from fast/svg/ to svg/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-fast-svg-tests
Patch Set: Rename some files Created 4 years, 5 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <title>Whitespace in attribute values tests</title> 2 <title>Whitespace in attribute values tests</title>
3 <script src=../../resources/testharness.js></script> 3 <script src=../../resources/testharness.js></script>
4 <script src=../../resources/testharnessreport.js></script> 4 <script src=../../resources/testharnessreport.js></script>
5 <script src=resources/whitespace-helper.js></script> 5 <script src=resources/whitespace-helper.js></script>
6 <svg id="testcontainer"> 6 <svg id="testcontainer">
7 <defs> 7 <defs>
8 <marker/> 8 <marker/>
9 <stop/> 9 <stop/>
10 <filter> 10 <filter>
(...skipping 18 matching lines...) Expand all
29 whitespace, 29 whitespace,
30 [ "-47", ".1", "0.35", "1e-10", "+32", "+17E-1", "17e+2" ], // valid 30 [ "-47", ".1", "0.35", "1e-10", "+32", "+17E-1", "17e+2" ], // valid
31 [], // invalid (split out the next line to whitespace-length-in valid.html because trybots were too slow ) 31 [], // invalid (split out the next line to whitespace-length-in valid.html because trybots were too slow )
32 // [ Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_ INFINITY, "fnord", "E", "e", "e+", "E-", "-", "+", "-.", ".-", ".", "+.", ".E0", "e1" ], 32 // [ Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_ INFINITY, "fnord", "E", "e", "e+", "E-", "-", "+", "-.", ".-", ".", "+.", ".E0", "e1" ],
33 validunits, 33 validunits,
34 garbage, 34 garbage,
35 function(elm, value) { assert_approx_equals(elm.x.baseVal.value InSpecifiedUnits, parseFloat(value), EPSILON); }, 35 function(elm, value) { assert_approx_equals(elm.x.baseVal.value InSpecifiedUnits, parseFloat(value), EPSILON); },
36 function(elm, expected) { assert_approx_equals(elm.x.baseVal.va lue, expected, EPSILON); } ); 36 function(elm, expected) { assert_approx_equals(elm.x.baseVal.va lue, expected, EPSILON); } );
37 37
38 </script> 38 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698