OLD | NEW |
(Empty) | |
| 1 Verify SVGSVGElement's getIntersectionList() and getEnclosureList() behavior. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 |
| 7 rect: [50 50 150 150] |
| 8 PASS svg.getEnclosureList(rect, null).length is 100 |
| 9 PASS svg.getIntersectionList(rect, null).length is 100 |
| 10 |
| 11 rect: [55 55 145 145] |
| 12 PASS svg.getEnclosureList(rect, null).length is 64 |
| 13 PASS svg.getIntersectionList(rect, null).length is 100 |
| 14 |
| 15 Zooming should not affect the results. |
| 16 |
| 17 rect: [50 50 150 150] |
| 18 PASS svg.getEnclosureList(rect, null).length is 100 |
| 19 PASS svg.getIntersectionList(rect, null).length is 100 |
| 20 |
| 21 rect: [55 55 145 145] |
| 22 PASS svg.getEnclosureList(rect, null).length is 64 |
| 23 PASS svg.getIntersectionList(rect, null).length is 100 |
| 24 |
| 25 But a viewbox transform should. |
| 26 |
| 27 rect: [50 50 150 150] |
| 28 PASS svg.getEnclosureList(rect, null).length is 36 |
| 29 PASS svg.getIntersectionList(rect, null).length is 49 |
| 30 |
| 31 rect: [55 55 145 145] |
| 32 PASS svg.getEnclosureList(rect, null).length is 25 |
| 33 PASS svg.getIntersectionList(rect, null).length is 36 |
| 34 |
| 35 PASS successfullyParsed is true |
| 36 |
| 37 TEST COMPLETE |
| 38 |
OLD | NEW |