OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../resources/testharness.js"></script> |
| 3 <script src="../../resources/testharnessreport.js"></script> |
| 4 <script src="./resources/geometry-interfaces-test-helpers.js"></script> |
| 5 <script> |
| 6 test(() => { |
| 7 var p1 = new DOMPoint(0, 1, 3, 4); |
| 8 var p2 = new DOMPoint(5, 6, 7, 8); |
| 9 var p3 = new DOMPoint(9, 10, 11, 12); |
| 10 var p4 = new DOMPoint(13, 14, 15, 16); |
| 11 var quad = new DOMQuad(p1, p2, p3, p4); |
| 12 assert_dom_point_equals(quad.p1, p1); |
| 13 assert_dom_point_equals(quad.p2, p2); |
| 14 assert_dom_point_equals(quad.p3, p3); |
| 15 assert_dom_point_equals(quad.p4, p4); |
| 16 }, "DOMQuad() constructor"); |
| 17 |
| 18 </script> |
OLD | NEW |