Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLDocument / activeElement.html
blob9d2aa61a03f043f4bb7f6e1d9b6c6dcad92e04d0
1 <html>
2 <head>
3 <script>
4 function test()
6 if (window.testRunner)
7 testRunner.dumpAsText();
8 log(document.activeElement);
9 document.getElementById('one').focus();
10 log(document.activeElement + " id: " + document.activeElement.id);
11 document.getElementById('two').focus();
12 log(document.activeElement + " id: " + document.activeElement.id);
13 document.getElementById('two').blur();
14 log(document.activeElement);
16 function log(msg)
18 document.getElementById("console").appendChild(document.createTextNode(msg + "\n"));
20 </script>
21 </head>
22 <body onload="test()">
23 <input id="one"><input id="two">
24 <br>
25 <pre id="console"></pre>
26 </body>
27 </html>