OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 <script src="../resources/common.js"></script> | 5 <script src="../resources/common.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 Please run this test within DumpRenderTree. | 8 Please run this test within DumpRenderTree. |
9 <script> | 9 <script> |
10 function keyDown(key, modifiers) | 10 function keyDown(key, modifiers) |
11 { | 11 { |
12 if (!window.eventSender) | 12 if (!window.eventSender) |
13 return; | 13 return; |
14 eventSender.keyDown(key, modifiers); | 14 eventSender.keyDown(key, modifiers); |
(...skipping 26 matching lines...) Expand all Loading... |
41 shouldBe('"' + id + '"; style.backgroundColor', 'highlight'); | 41 shouldBe('"' + id + '"; style.backgroundColor', 'highlight'); |
42 shouldBe('"' + id + '"; style.color', 'highlighttext'); | 42 shouldBe('"' + id + '"; style.color', 'highlighttext'); |
43 keyDown('rightArrow'); | 43 keyDown('rightArrow'); |
44 } | 44 } |
45 debug(''); | 45 debug(''); |
46 testInput.parentElement.removeChild(testInput); | 46 testInput.parentElement.removeChild(testInput); |
47 sample.parentElement.removeChild(sample); | 47 sample.parentElement.removeChild(sample); |
48 </script> | 48 </script> |
49 </body> | 49 </body> |
50 </html> | 50 </html> |
OLD | NEW |