| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <!-- | 2 <!-- |
| 3 This test ensures the correctness of Spatial Navigation (SNav) algorithm ove
r single select element. | 3 This test ensures the correctness of Spatial Navigation (SNav) algorithm ove
r single select element. |
| 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 2) Focus moves away from select in 4 different directions to neighbor nodes
and back. | 10 2) Focus moves away from select in 4 different directions to neighbor nodes
and back. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 function testCompleted() | 62 function testCompleted() |
| 63 { | 63 { |
| 64 if (window.testRunner) | 64 if (window.testRunner) |
| 65 testRunner.notifyDone(); | 65 testRunner.notifyDone(); |
| 66 } | 66 } |
| 67 | 67 |
| 68 window.onload = runTest; | 68 window.onload = runTest; |
| 69 | 69 |
| 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 <table style="text-align: left; width: 100%; margin-left: auto; margin-right
: auto;" border="1" cellpadding="2" cellspacing="1"> | 73 <table style="text-align: left; width: 100%; margin-left: auto; margin-right
: auto;" border="1" cellpadding="2" cellspacing="1"> |
| 75 <tbody> | 74 <tbody> |
| 76 <tr> | 75 <tr> |
| 77 <td style="vertical-align: top; text-align: center;"></td> | 76 <td style="vertical-align: top; text-align: center;"></td> |
| 78 <td style="vertical-align: top; text-align: center;"><a id="2" href="a
">2</a></td> | 77 <td style="vertical-align: top; text-align: center;"><a id="2" href="a
">2</a></td> |
| 79 <td style="vertical-align: top; text-align: center;"></td> | 78 <td style="vertical-align: top; text-align: center;"></td> |
| 80 </tr> | 79 </tr> |
| 81 <tr> | 80 <tr> |
| 82 <td style="vertical-align: top; text-align: center;"><a id="4" href="a
">4</a></td> | 81 <td style="vertical-align: top; text-align: center;"><a id="4" href="a
">4</a></td> |
| 83 <td style="vertical-align: top; text-align: center;"><select id="start
"><option>1</option><option>2</option><option>3</option></select></td> | 82 <td style="vertical-align: top; text-align: center;"><select id="start
"><option>1</option><option>2</option><option>3</option></select></td> |
| 84 <td style="vertical-align: top; text-align: center;"><a id="6" href="a
">6</a></td> | 83 <td style="vertical-align: top; text-align: center;"><a id="6" href="a
">6</a></td> |
| 85 </tr> | 84 </tr> |
| 86 <tr> | 85 <tr> |
| 87 <td style="vertical-align: top; text-align: center;"></td> | 86 <td style="vertical-align: top; text-align: center;"></td> |
| 88 <td style="vertical-align: top; text-align: center;"><a id="8" href="a
">8</a></td> | 87 <td style="vertical-align: top; text-align: center;"><a id="8" href="a
">8</a></td> |
| 89 <td style="vertical-align: top; text-align: center;"></td> | 88 <td style="vertical-align: top; text-align: center;"></td> |
| 90 </tr> | 89 </tr> |
| 91 </tbody> | 90 </tbody> |
| 92 </table> | 91 </table> |
| 93 <div id="console"></div> | 92 <div id="console"></div> |
| 94 </body> | 93 </body> |
| 95 </html> | 94 </html> |
| 96 | 95 |
| OLD | NEW |