Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / render-text-crash.html
blobdb2a5e39ffa27f0967f5c1b30bf7be084585b532
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p>To run this test manually, press arrow keys three times. WebKit should not crash. On DRT, you see see PASS:</p>
5 <input type="text" onkeydown="move(this.nextSibling)"
6 ><input type="text" onkeydown="move(this.nextSibling)"
7 ><input type="text" onkeydown="move(this.nextSibling)"
8 ><input type="text" onkeydown="move(this.nextSibling)"
9 ><input type="text" onkeydown="move(this.nextSibling)"
10 ><input type="text" onkeydown="move(this.nextSibling)">
11 <script type="text/javascript">
13 if (window.testRunner)
14 testRunner.dumpAsText();
16 var activeInput = null;
18 function move(newInput)
20 newInput.className = '';
21 newInput.style.dispaly = '';
22 newInput.focus();
23 if (activeInput)
24 activeInput.style.display = 'none';
25 activeInput = newInput;
28 var inputs = document.getElementsByTagName('input');
29 move(inputs[0]);
31 if (window.eventSender) {
32 testRunner.waitUntilDone();
33 for (var i = 0; i < inputs.length - 1; i++)
34 eventSender.keyDown('downArrow', []);
35 testRunner.notifyDone();
38 document.body.appendChild(document.createTextNode('PASS'));
39 </script>
40 </body>
41 </html>