| OLD | NEW |
| (Empty) |
| 1 Test that when image map areas have their shape or coordinate dynamically altere
d, the clickable region changes. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS setArea('default', ''); checkForArea(50, 50) is true | |
| 7 PASS setArea('rect', '0, 0, 100, 100'); checkForArea(50, 50) is true | |
| 8 PASS setArea('rect', '0, 0, 100, 100'); checkForArea(150, 150) is false | |
| 9 PASS setArea('rect', '200, 200, 300, 300'); checkForArea(50, 50) is false | |
| 10 PASS setArea('rect', '200, 200, 300, 300'); checkForArea(250, 250) is true | |
| 11 PASS setArea('circle', '100, 100, 50'); checkForArea(100, 100) is true | |
| 12 PASS setArea('circle', '100, 100, 50'); checkForArea(120, 100) is true | |
| 13 PASS setArea('circle', '100, 100, 50'); checkForArea(200, 100) is false | |
| 14 PASS setArea('circle', '300, 300, 50'); checkForArea(100, 100) is false | |
| 15 PASS setArea('circle', '300, 300, 50'); checkForArea(300, 300) is true | |
| 16 PASS setArea('circle', '300, 300, 50'); checkForArea(320, 300) is true | |
| 17 PASS setArea('poly', '100, 100, 200, 100, 200, 200'); checkForArea(150, 150) is
true | |
| 18 PASS setArea('poly', '100, 100, 200, 100, 200, 200'); checkForArea(100, 150) is
false | |
| 19 PASS setArea('poly', '100, 100, 200, 100, 200, 200'); checkForArea(300, 300) is
false | |
| 20 PASS setArea('default', ''); checkForArea(300, 300) is true | |
| 21 PASS successfullyParsed is true | |
| 22 | |
| 23 TEST COMPLETE | |
| 24 | |
| OLD | NEW |