Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
|
tkent
2014/08/11 01:58:32
This test doesn't make sense. This test passes wi
pals
2014/08/11 09:11:58
Done. Made the necessary changes to check no endTa
| |
| 2 <html> | |
| 3 <head> | |
| 4 <title>Stray menuitem elements are not dropped when parsing</title> | |
| 5 <script> | |
| 6 if (window.testRunner) | |
| 7 testRunner.dumpAsText(); | |
| 8 | |
| 9 window.onload = function() { | |
| 10 var len = document.getElementsByTagName("menuitem").length; | |
| 11 document.getElementsByTagName("p")[0].innerHTML = (len == 1) ? " PASS" : "FAIL"; | |
| 12 }; | |
| 13 </script> | |
| 14 </head> | |
| 15 <body> | |
| 16 <p>This test requires Javascript.</p> | |
| 17 <menuitem> | |
| 18 </body> | |
| 19 </html> | |
| OLD | NEW |