| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <link rel="help" href="http://www.w3.org/TR/DOM-Level-3-Events/#events-WheelEven
t"> | 4 <link rel="help" href="http://www.w3.org/TR/DOM-Level-3-Events/#events-WheelEven
t"> |
| 5 <script src="../js/resources/js-test-pre.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 function runTest() | 7 function runTest() |
| 8 { | 8 { |
| 9 if (!window.testRunner || !window.eventSender) { | 9 if (!window.testRunner || !window.eventSender) { |
| 10 debug("FAIL: This test requires window.testRunner and window.eventSender
."); | 10 debug("FAIL: This test requires window.testRunner and window.eventSender
."); |
| 11 finishJSTest(); | 11 finishJSTest(); |
| 12 return; | 12 return; |
| 13 } | 13 } |
| 14 | 14 |
| 15 testRunner.overridePreference('WebKitTabToLinksPreferenceKey', true); | 15 testRunner.overridePreference('WebKitTabToLinksPreferenceKey', true); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 33 <p><a tabindex=0 onfocus="testPassed('gave focus to focusable element')" href="#
">Focusable</a></p> | 33 <p><a tabindex=0 onfocus="testPassed('gave focus to focusable element')" href="#
">Focusable</a></p> |
| 34 <p><a tabindex=0 onfocus="testPassed('gave focus to focusable element')">Focusab
le</a></p> | 34 <p><a tabindex=0 onfocus="testPassed('gave focus to focusable element')">Focusab
le</a></p> |
| 35 <p><input onfocus="testFailed('should have stopped testing before this element')
"></p> | 35 <p><input onfocus="testFailed('should have stopped testing before this element')
"></p> |
| 36 | 36 |
| 37 <p>Result | 37 <p>Result |
| 38 | 38 |
| 39 <div id="console"></div> | 39 <div id="console"></div> |
| 40 | 40 |
| 41 </body> | 41 </body> |
| 42 </html> | 42 </html> |
| OLD | NEW |