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: focusable elements in scrollable containers (e.g. <div>) should be | 4 routines: focusable elements in scrollable containers (e.g. <div>) should be |
5 accessible, including offscreen content. | 5 accessible, including offscreen content. |
6 | 6 |
7 * Pre-conditions: | 7 * Pre-conditions: |
8 1) DRT support for spatial navivation enable/disable. | 8 1) DRT support for spatial navivation enable/disable. |
9 | 9 |
10 * Navigation steps: | 10 * Navigation steps: |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 function testCompleted() | 64 function testCompleted() |
65 { | 65 { |
66 if (window.testRunner) | 66 if (window.testRunner) |
67 testRunner.notifyDone(); | 67 testRunner.notifyDone(); |
68 } | 68 } |
69 | 69 |
70 window.onload = runTest; | 70 window.onload = runTest; |
71 | 71 |
72 </script> | 72 </script> |
73 <script src="js/resources/js-test-post.js"></script> | |
74 </head> | 73 </head> |
75 | 74 |
76 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> | 75 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> |
77 <a id="start" href="a"><img src="resources/green.png" width=30px height=30px
></a> | 76 <a id="start" href="a"><img src="resources/green.png" width=30px height=30px
></a> |
78 <div class="scroll"> | 77 <div class="scroll"> |
79 <a id="1" href="a"><img src="resources/green.png" width=30px height=30px><
/a> | 78 <a id="1" href="a"><img src="resources/green.png" width=30px height=30px><
/a> |
80 <div></div> | 79 <div></div> |
81 <img src="resources/green.png" width=200px height=200px> | 80 <img src="resources/green.png" width=200px height=200px> |
82 <div></div> | 81 <div></div> |
83 <a id="2" href="a"><img src="resources/green.png" width=30px height=30px><
/a>. | 82 <a id="2" href="a"><img src="resources/green.png" width=30px height=30px><
/a>. |
84 </div> | 83 </div> |
85 <a id="3" href="a"><img src="resources/green.png" width=30px height=30px></a
> | 84 <a id="3" href="a"><img src="resources/green.png" width=30px height=30px></a
> |
86 <div id="console"></div> | 85 <div id="console"></div> |
87 <div>This test tests that a div with css overflow:auto will scroll to reveal
its focusable elements</div> | 86 <div>This test tests that a div with css overflow:auto will scroll to reveal
its focusable elements</div> |
88 </body> | 87 </body> |
89 </html> | 88 </html> |
90 | 89 |
OLD | NEW |