OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <title>SVGAngle tests</title> | 2 <title>SVGAngle 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"> | 6 <svg width="1" height="1" visibility="hidden"> |
7 <defs><marker/></defs> | 7 <defs><marker/></defs> |
8 </svg> | 8 </svg> |
9 </div> | 9 </div> |
10 <div id=log></div> | 10 <div id=log></div> |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 result = a.valueAsString; | 173 result = a.valueAsString; |
174 } | 174 } |
175 catch(e) { | 175 catch(e) { |
176 } | 176 } |
177 | 177 |
178 // unknown unit | 178 // unknown unit |
179 if (units[unit] > highestExposedUnit || units[ot
herunit] > highestExposedUnit) | 179 if (units[unit] > highestExposedUnit || units[ot
herunit] > highestExposedUnit) |
180 assert_equals(result, ""); | 180 assert_equals(result, ""); |
181 else | 181 else |
182 assert_equals(result, ref.valueAsString)
; | 182 assert_equals(result, ref.valueAsString)
; |
183 » » » }, "newValueSpecifiedUnits(" + units[unit] + ", " + angl
e + ")" ); | 183 » » » }, "SVGAngle(47" + otherunit + ").newValueSpecifiedUnits
(" + units[unit] + ", " + angle + ")"); |
184 }; | 184 }; |
185 } | 185 } |
186 }); | 186 }); |
187 | 187 |
188 </script> | 188 </script> |
OLD | NEW |