Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / button-enter-click.html
blob115c859dcf8bb65b9ce6ba814d37db4faa6f4f38
1 <html>
2 <head>
3 <script>
4 function test() {
5 var bt = document.getElementById('bt');
6 bt.focus();
7 if (window.testRunner) {
8 testRunner.dumpAsText();
9 eventSender.keyDown("\r", []);
12 function log(msg) {
13 var console = document.getElementById('console');
14 console.innerHTML = console.innerHTML + msg + "<br>";
16 </script>
17 </head>
18 <body onload="test()">
19 <form onsubmit="log('Test Passed'); return false;">
20 This tests that hitting the enter key on a button element submits the form.<br>
21 <button id="bt"></button>
22 </form>
23 <div id="console"></div>
24 </body>
25 </html>