blob: 07e0d8d6539e44944ad0090fa75b53d975b17fc6 [file] [log] [blame]
<!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 &lt;area&gt; element can be created even if it's not properly nested
just inside a &lt;map&gt; 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>