| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <!-- | 2 <!-- |
| 3 This test ensures that overflowed content can be focused by Spatial Navigati
on. | 3 This test ensures that overflowed content can be focused by Spatial Navigati
on. |
| 4 | 4 |
| 5 * Pre-conditions: | 5 * Pre-conditions: |
| 6 1) DRT support for SNav enable/disable. | 6 1) DRT support for SNav enable/disable. |
| 7 | 7 |
| 8 * Navigation steps: | 8 * Navigation steps: |
| 9 1) Loads this page, focus goes to "start" automatically. | 9 1) Loads this page, focus goes to "start" automatically. |
| 10 3) Try to traverse the links on page down. | 10 3) Try to traverse the links on page down. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 function testCompleted() | 52 function testCompleted() |
| 53 { | 53 { |
| 54 if (window.testRunner) | 54 if (window.testRunner) |
| 55 testRunner.notifyDone(); | 55 testRunner.notifyDone(); |
| 56 } | 56 } |
| 57 | 57 |
| 58 window.onload = runTest; | 58 window.onload = runTest; |
| 59 | 59 |
| 60 </script> | 60 </script> |
| 61 <script src="js/resources/js-test-post.js"></script> | |
| 62 </head> | 61 </head> |
| 63 | 62 |
| 64 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> | 63 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> |
| 65 <div class="scroll"> | 64 <div class="scroll"> |
| 66 <p>It has a visible <a id="start" href="a">link_1</a>.</p> | 65 <p>It has a visible <a id="start" href="a">link_1</a>.</p> |
| 67 <br><br><br><br><br><br><br><br><br> | 66 <br><br><br><br><br><br><br><br><br> |
| 68 <p>... and an overflowed link like <a id="1" href="a">this</a>.</p> | 67 <p>... and an overflowed link like <a id="1" href="a">this</a>.</p> |
| 69 </div> | 68 </div> |
| 70 <br><br><br><br><br><br><br> | 69 <br><br><br><br><br><br><br> |
| 71 <p>This link should NOT get <a id="start" href="a">focused</a>.</p> | 70 <p>This link should NOT get <a id="start" href="a">focused</a>.</p> |
| 72 <div id="console"></div> | 71 <div id="console"></div> |
| 73 </body> | 72 </body> |
| 74 </html> | 73 </html> |
| OLD | NEW |