Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / stray-param.html
blob0b968d853b414b476ed1a6c913b277b4ce5c328f
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Stray param elements are not dropped when parsing</title>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 window.onload = function() {
10 var len = document.getElementsByTagName("param").length;
11 document.getElementsByTagName("p")[0].innerHTML = (len == 1) ? "PASS" : "FAIL";
13 </script>
14 </head>
15 <body>
16 <p>This test requires Javascript.</p>
17 <param>
18 </body>
19 </html>