Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / focus-control-to-page.html
blob60140269e3d7af09269a602a3d7f4a4f23d347fa
1 <head>
2 <script>
4 function log(str)
6 document.getElementById("log").innerHTML += str + " ";
9 function runTest()
11 if (window.testRunner)
12 testRunner.dumpAsText();
14 if (!window.eventSender)
15 return;
17 for (var i = 0; i < 7; ++i)
18 eventSender.keyDown("\t");
21 </script>
22 </head>
23 <body onload="runTest()">
24 <p>This test checks whether you can tab in and out of various focusable objects including pages and content-editable areas. As you tab through, each element will log its number in order.</p>
25 <hr>
26 <input type="search" onfocus="log(1)" value="search">
27 <input type="text" onfocus="log(2)" value="text">
28 <div style="display: inline-block" contentEditable="true" onfocus="log(3)">contentEditable</div>
29 <select onfocus="log(4)"><option>select</option></select>
30 <textarea onfocus="log(5)">textarea</textarea>
31 <input type="password" onfocus="log(6)" value="password">
32 <input type="text" onfocus="log(7)" value="text 2">
33 <hr>
34 <p id="log"></p>
35 </body>