| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 function testCompleted() | 52 function testCompleted() |
| 53 { | 53 { |
| 54 if (window.testRunner) | 54 if (window.testRunner) |
| 55 shouldBe("document.getElementById('down').checked", "true"); | 55 shouldBe("document.getElementById('down').checked", "true"); |
| 56 testRunner.notifyDone(); | 56 testRunner.notifyDone(); |
| 57 } | 57 } |
| 58 | 58 |
| 59 window.onload = runTest; | 59 window.onload = runTest; |
| 60 | 60 |
| 61 </script> | 61 </script> |
| 62 <script src="js/resources/js-test-post.js"></script> | |
| 63 </head> | 62 </head> |
| 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 <table style="text-align: left; width: 100%; margin-left: auto; margin-right
: auto;" border="1" cellpadding="2" cellspacing="1"> | 64 <table style="text-align: left; width: 100%; margin-left: auto; margin-right
: auto;" border="1" cellpadding="2" cellspacing="1"> |
| 66 <tbody> | 65 <tbody> |
| 67 <tr> | 66 <tr> |
| 68 <td style="vertical-align: center; text-align: center;"></td> | 67 <td style="vertical-align: center; text-align: center;"></td> |
| 69 <td style="vertical-align: center; text-align: center;"><a id="2" href
="a">2</a></td> | 68 <td style="vertical-align: center; text-align: center;"><a id="2" href
="a">2</a></td> |
| 70 <td style="vertical-align: center; text-align: center;"></td> | 69 <td style="vertical-align: center; text-align: center;"></td> |
| 71 </tr> | 70 </tr> |
| 72 <tr> | 71 <tr> |
| (...skipping 27 matching lines...) Expand all Loading... |
| 100 <td style="vertical-align: center; text-align: center;"></td> | 99 <td style="vertical-align: center; text-align: center;"></td> |
| 101 <td style="vertical-align: center; text-align: center;"><a id="8" href
="a">8</a></td> | 100 <td style="vertical-align: center; text-align: center;"><a id="8" href
="a">8</a></td> |
| 102 <td style="vertical-align: center; text-align: center;"></td> | 101 <td style="vertical-align: center; text-align: center;"></td> |
| 103 </tr> | 102 </tr> |
| 104 </tbody> | 103 </tbody> |
| 105 </table> | 104 </table> |
| 106 <div id="console"></div> | 105 <div id="console"></div> |
| 107 </body> | 106 </body> |
| 108 </html> | 107 </html> |
| 109 | 108 |
| OLD | NEW |