OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <title>SVGlength tests</title> | 2 <title>SVGlength 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 <div id="testcontainer"> | 5 <div id="testcontainer"> |
6 <svg width="1" height="1" visibility="hidden"> </svg> | 6 <svg width="1" height="1" visibility="hidden"> </svg> |
7 </div> | 7 </div> |
8 <script> | 8 <script> |
9 | 9 |
10 var svg = document.querySelector("svg"); | 10 var svg = document.querySelector("svg"); |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 value.newValueSpecifiedUnits(unit, length); | 180 value.newValueSpecifiedUnits(unit, length); |
181 | 181 |
182 assert_equals(value.valueAsString, ref.valueAsString); | 182 assert_equals(value.valueAsString, ref.valueAsString); |
183 } | 183 } |
184 } | 184 } |
185 } | 185 } |
186 }, "Test newValueSpecifiedUnits for each unit"); | 186 }, "Test newValueSpecifiedUnits for each unit"); |
187 | 187 |
188 </script> | 188 </script> |
189 | 189 |
OLD | NEW |