Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / label-focus.html
blobafcbb7a752dad05a12b0138780923845098fb6ef
1 <html>
2 <body>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 </script>
7 <label id="label">Label: <input type=text onfocus="document.getElementById('output').innerHTML = 'THIS TEST HAS PASSED'"></label>
8 <div id="output">THIS TEST HAS FAILED</div>
9 <script>
10 document.getElementById('label').focus()
11 </script>
12 </body>
13 </html>