| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <!-- | 2 <!-- |
| 3 This test ensures the basic traversal correctness of Spatial Navigation | 3 This test ensures the basic traversal correctness of Spatial Navigation |
| 4 algorithm: iframes without any focusable content should be ignored. | 4 algorithm: iframes without any focusable content should be ignored. |
| 5 | 5 |
| 6 * Pre-conditions: | 6 * Pre-conditions: |
| 7 1) DRT support for SNav enable/disable. | 7 1) DRT support for SNav 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 } | 50 } |
| 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 </script> | 59 </script> |
| 60 <script src="js/resources/js-test-post.js"></script> | |
| 61 </head> | 60 </head> |
| 62 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> | 61 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> |
| 63 <div><a id="start" href="a">a</a></div> | 62 <div><a id="start" href="a">a</a></div> |
| 64 | 63 |
| 65 <iframe width="80" height="80" scrolling="auto" src="data:text/html, | 64 <iframe width="80" height="80" scrolling="auto" src="data:text/html, |
| 66 <body> | 65 <body> |
| 67 <img width=120 height=200 src='resources/green.png'> | 66 <img width=120 height=200 src='resources/green.png'> |
| 68 </body> | 67 </body> |
| 69 "></iframe><br> | 68 "></iframe><br> |
| 70 | 69 |
| 71 <iframe scrolling="auto" src="data:text/html, | 70 <iframe scrolling="auto" src="data:text/html, |
| 72 <body> | 71 <body> |
| 73 <img width=120 height=200 src='resources/green.png'> | 72 <img width=120 height=200 src='resources/green.png'> |
| 74 </body> | 73 </body> |
| 75 "></iframe><br> | 74 "></iframe><br> |
| 76 | 75 |
| 77 <a id="end" href="a">e</a> | 76 <a id="end" href="a">e</a> |
| 78 <div id="console"></div> | 77 <div id="console"></div> |
| 79 This is to test that an iframe with no focusable content still scrolls | 78 This is to test that an iframe with no focusable content still scrolls |
| 80 </body> | 79 </body> |
| 81 </html> | 80 </html> |
| OLD | NEW |