Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / document-all-includes-svg.html
blob81759acb8d8e0b238fdc490378f7f1d5a39a0fcb
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <script>
6 function runTest()
8 shouldBe("document.all['test1'].length", "2");
9 shouldBe("document.all['test2'].length", "2");
10 shouldBeEqualToString("document.all['test3'].nodeName", 'A');
11 shouldBe("document.all['test4'].length", "2");
12 shouldBe("document.all['test5'].length", "2");
14 </script>
15 </head>
16 <body onload="runTest()">
17 <a id="test1"></a>
18 <svg id="test1"/>
20 <svg id="test2"/>
21 <a id="test2"></a>
23 <a id="test3"></a>
25 <a id="test4"></a>
26 <div id="test4"></div>
28 <svg id="test5"></svg>
29 <svg id="test5"></svg>
30 </body>
31 </html>