| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <!-- | 2 <!-- |
| 3 This test ensures the correctness of a basic aspect of spatial navigation tr
aversal | 3 This test ensures the correctness of a basic aspect of spatial navigation tr
aversal |
| 4 routines: scrollable block html elements without any focusable content shoul
d be ignored. | 4 routines: scrollable block html elements without any focusable content shoul
d be ignored. |
| 5 | 5 |
| 6 * Pre-conditions: | 6 * Pre-conditions: |
| 7 1) DRT support for spatial navigation enable/disable. | 7 1) DRT support for spatial navigation enable/disable. |
| 8 | 8 |
| 9 * Navigation steps: | 9 * Navigation steps: |
| 10 1) Loads this page, focus goes to "start" automatically. | 10 1) Loads this page, focus goes to "start" automatically. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 } | 61 } |
| 62 | 62 |
| 63 function testCompleted() | 63 function testCompleted() |
| 64 { | 64 { |
| 65 if (window.testRunner) | 65 if (window.testRunner) |
| 66 testRunner.notifyDone(); | 66 testRunner.notifyDone(); |
| 67 } | 67 } |
| 68 | 68 |
| 69 window.onload = runTest; | 69 window.onload = runTest; |
| 70 </script> | 70 </script> |
| 71 <script src="js/resources/js-test-post.js"></script> | |
| 72 </head> | 71 </head> |
| 73 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> | 72 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> |
| 74 <div><a id="start" href="a"><img src="resources/green.png" width=30 height=3
0></a></div> | 73 <div><a id="start" href="a"><img src="resources/green.png" width=30 height=3
0></a></div> |
| 75 <div class="scroll"> | 74 <div class="scroll"> |
| 76 <img src="resources/green.png" width=240 height=300> | 75 <img src="resources/green.png" width=240 height=300> |
| 77 </div> | 76 </div> |
| 78 | 77 |
| 79 <div class="scroll"> | 78 <div class="scroll"> |
| 80 <img src="resources/green.png" width=240 height=300> | 79 <img src="resources/green.png" width=240 height=300> |
| 81 </div> | 80 </div> |
| 82 <div><a id="end" href="a"><img src="resources/green.png" width=30 height=30>
</a></div> | 81 <div><a id="end" href="a"><img src="resources/green.png" width=30 height=30>
</a></div> |
| 83 <div id="console"></div> | 82 <div id="console"></div> |
| 84 This test is to test that a scrollable div can scroll and reveal its content
even if it does not have any focusable content. | 83 This test is to test that a scrollable div can scroll and reveal its content
even if it does not have any focusable content. |
| 85 </body> | 84 </body> |
| 86 </html> | 85 </html> |
| OLD | NEW |