| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <HTML><HEAD><TITLE>AREA inside DIV</TITLE></HEAD> |
| <BODY> |
| <!-- intentionally invalid --> |
| <MAP name="m"> |
| <div> |
| <AREA id="a" alt=""> |
| </div> |
| </MAP> |
| <p>This tests that an <area> element can be created even if it's not properly nested |
| just inside a <map> element.</p> |
| <p>Test result: |
| <SCRIPT type="text/javascript"> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| if (document.getElementById('a')) |
| document.write("success"); |
| else |
| document.write("failure"); |
| </SCRIPT> |
| </p> |
| </BODY></HTML> |