Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / button-click-DOM.html
blob08f2512ccad1536526ef9bfd427e3e88c978c1e7
1 <html>
2 <script>
3 function test() {
4 document.getElementById("thebutton").click();
5 if (window.testRunner)
6 testRunner.dumpAsText();
9 function clicky() {
10 document.getElementById("thediv").innerHTML= "test passed";
13 </script>
14 <head>
15 <title>Test case for HTMLButtonElement.click()</title>
16 </head>
17 <body onload="test();">
18 <h3>Test case for HTMLButtonElement.click()</h3>
19 Successful if it reads "test passed" below <span style="color: red">upon loading the page</span> <br>
20 <BUTTON id=thebutton onclick="clicky();">No need to click me. In fact, don't.</BUTTON>
21 <div id=thediv>
22 test failed <br>
23 </div>
24 </body>
25 </html>