Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / button-submit.html
blob1c27aa7de18ccaeed1d6cf1cf3b1c90400cb64d0
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>Test case for checking firstChild.nodeType of a document</title>
5 <style type="text/css">
6 button {display:none;}
7 </style>
8 </head>
9 <body>
10 <p>There should be no RED on the page</p>
11 <button id='button'></button>
13 <script type="text/javascript">
14 if (document.getElementById('button').type !="submit") document.write("<p style=\"background-color:red;\">Wrong default type of BUTTON element</p>");
15 </script>
16 </body>
17 </html>