Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / area-in-div.html
blob07e0d8d6539e44944ad0090fa75b53d975b17fc6
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 &lt;area&gt; element can be created even if it's not properly nested
11 just inside a &lt;map&gt; element.</p>
12 <p>Test result:
13 <SCRIPT type="text/javascript">
14 if (window.testRunner)
15 testRunner.dumpAsText();
16 if (document.getElementById('a'))
17 document.write("success");
18 else
19 document.write("failure");
20 </SCRIPT>
21 </p>
22 </BODY></HTML>