| OLD | NEW |
| (Empty) |
| 1 | |
| 2 This is a testharness.js-based test. | |
| 3 PASS too few numbers: "2,2,10" (rect) | |
| 4 PASS negative: "-10,-10,10,10" (rect) | |
| 5 PASS empty string: "" (rect) | |
| 6 PASS omitted coords: null (rect) | |
| 7 PASS first > third: "10,2,2,10" (rect) | |
| 8 PASS second > fourth: "2,10,10,2" (rect) | |
| 9 PASS first > third, second > fourth: "10,10,2,2" (rect) | |
| 10 PASS negative: "-10,-10,-10,-10" (default) | |
| 11 PASS too few numbers: "20,40" (circle) | |
| 12 FAIL negative radius: "20,40,-10" (circle) assert_equals: elementFromPoint(21, 4
1) expected Element node <img src="resources/images/blue-border.png" usemap="#x"
i... but got Element node <area id="area" shape="circle" coords="20,40,-10"></a
rea> | |
| 13 PASS zero radius: "20,40,0" (circle) | |
| 14 PASS too few numbers: "100,100,120,100,100" (poly) | |
| 15 PASS one too many numbers: "100,100,120,100,100,120,300" (poly) | |
| 16 PASS even-odd rule: "100,100,200,100,100,200,150,50,200,200" (poly) | |
| 17 Harness: the test ran to completion. | |
| 18 | |
| OLD | NEW |