darin | 78354ef | 2005-09-10 21:03:44 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <HTML><HEAD><TITLE>AREA inside DIV</TITLE></HEAD> |
| 3 | <BODY> |
| 4 | <!-- intentionally invalid --> |
| 5 | <MAP name="m"> |
| 6 | <div> |
| 7 | <AREA id="a" alt=""> |
| 8 | </div> |
| 9 | </MAP> |
| 10 | <p>This tests that an <area> element can be created even if it's not properly nested |
| 11 | just inside a <map> element.</p> |
| 12 | <p>Test result: |
| 13 | <SCRIPT type="text/javascript"> |
rniwa@webkit.org | 59a6acf | 2012-08-02 05:53:47 +0000 | [diff] [blame] | 14 | if (window.testRunner) |
| 15 | testRunner.dumpAsText(); |
darin | 78354ef | 2005-09-10 21:03:44 +0000 | [diff] [blame] | 16 | if (document.getElementById('a')) |
| 17 | document.write("success"); |
| 18 | else |
| 19 | document.write("failure"); |
| 20 | </SCRIPT> |
| 21 | </p> |
| 22 | </BODY></HTML> |