OLD | NEW |
1 <html> | 1 <html> |
2 <!-- | 2 <!-- |
3 This test ensures the basic iframe traversal correctness of Spatial Navigati
on | 3 This test ensures the basic iframe traversal correctness of Spatial Navigati
on |
4 algorithm: focusable elements in a <iframe> should be accessible. | 4 algorithm: focusable elements in a <iframe> should be accessible. |
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 } | 51 } |
52 | 52 |
53 function testCompleted() | 53 function testCompleted() |
54 { | 54 { |
55 if (window.testRunner) | 55 if (window.testRunner) |
56 testRunner.notifyDone(); | 56 testRunner.notifyDone(); |
57 } | 57 } |
58 | 58 |
59 window.onload = runTest; | 59 window.onload = runTest; |
60 </script> | 60 </script> |
61 <script src="js/resources/js-test-post.js"></script> | |
62 </head> | 61 </head> |
63 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> | 62 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> |
64 <div><a id="start" href="a">a</a></div> | 63 <div><a id="start" href="a">a</a></div> |
65 | 64 |
66 <iframe src="data:text/html, | 65 <iframe src="data:text/html, |
67 <body> | 66 <body> |
68 <a id='1' href='a'>b</a><br> | 67 <a id='1' href='a'>b</a><br> |
69 <a id='2' href='a'>c</a><br> | 68 <a id='2' href='a'>c</a><br> |
70 <a id='3' href='a'>d</a><br> | 69 <a id='3' href='a'>d</a><br> |
71 <div style='margin-left:80px'> | 70 <div style='margin-left:80px'> |
72 <a id='7' href='a'>e</a> | 71 <a id='7' href='a'>e</a> |
73 </div> | 72 </div> |
74 </body> | 73 </body> |
75 "></iframe><br> | 74 "></iframe><br> |
76 | 75 |
77 <iframe src="data:text/html, | 76 <iframe src="data:text/html, |
78 <body> | 77 <body> |
79 <a id='4' href='a'>g</a> | 78 <a id='4' href='a'>g</a> |
80 <a id='5' href='a'>h</a> | 79 <a id='5' href='a'>h</a> |
81 <a id='6' href='a'>i</a> | 80 <a id='6' href='a'>i</a> |
82 </body> | 81 </body> |
83 "></iframe><br> | 82 "></iframe><br> |
84 | 83 |
85 <a id="end" href="a">a</a> | 84 <a id="end" href="a">a</a> |
86 <div id="console"></div> | 85 <div id="console"></div> |
87 </body> | 86 </body> |
88 </html> | 87 </html> |
OLD | NEW |