blob: 07e0d8d6539e44944ad0090fa75b53d975b17fc6 [file] [log] [blame]
darin78354ef2005-09-10 21:03:44 +00001<!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 &lt;area&gt; element can be created even if it's not properly nested
11just inside a &lt;map&gt; element.</p>
12<p>Test result:
13<SCRIPT type="text/javascript">
rniwa@webkit.org59a6acf2012-08-02 05:53:47 +000014if (window.testRunner)
15 testRunner.dumpAsText();
darin78354ef2005-09-10 21:03:44 +000016if (document.getElementById('a'))
17 document.write("success");
18else
19 document.write("failure");
20</SCRIPT>
21</p>
22</BODY></HTML>