OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
4 <script src="resources/spatial-navigation-utils.js"></script> | 4 <script src="resources/spatial-navigation-utils.js"></script> |
5 <script type="application/javascript"> | 5 <script type="application/javascript"> |
6 | 6 |
7 var resultMap = [ | 7 var resultMap = [ |
8 ["Down", "end"], | 8 ["Down", "end"], |
9 ["DONE", "DONE"] | 9 ["DONE", "DONE"] |
10 ]; | 10 ]; |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 function testCompleted() | 27 function testCompleted() |
28 { | 28 { |
29 if (window.testRunner) | 29 if (window.testRunner) |
30 testRunner.notifyDone(); | 30 testRunner.notifyDone(); |
31 } | 31 } |
32 | 32 |
33 window.onload = runTest; | 33 window.onload = runTest; |
34 | 34 |
35 </script> | 35 </script> |
36 <script src="js/resources/js-test-post.js"></script> | |
37 </head> | 36 </head> |
38 | 37 |
39 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> | 38 <body id="some-content" xmlns="http://www.w3.org/1999/xhtml"> |
40 <p>This is <a id="start" href="a">link_1</a>.</p> | 39 <p>This is <a id="start" href="a">link_1</a>.</p> |
41 <br>This is <iframe id="1" width=100 height=100 style="display:none" src=
"data:text/html, | 40 <br>This is <iframe id="1" width=100 height=100 style="display:none" src=
"data:text/html, |
42 <body> | 41 <body> |
43 <a id='11' href='http://a'>b</a> | 42 <a id='11' href='http://a'>b</a> |
44 <a id='12' href='http://a'>c</a> | 43 <a id='12' href='http://a'>c</a> |
45 <a id='13' href='http://a'>d</a> | 44 <a id='13' href='http://a'>d</a> |
46 </body> | 45 </body> |
47 "></iframe><br> hidden iframe.<br> | 46 "></iframe><br> hidden iframe.<br> |
48 <p>This is <a id="end" href="a">link_2</a>.</p> | 47 <p>This is <a id="end" href="a">link_2</a>.</p> |
49 <div id="console"></div> | 48 <div id="console"></div> |
50 <p>This test is to test that iframe with display:none does not get focus, an
d neither do its descendants</p> | 49 <p>This test is to test that iframe with display:none does not get focus, an
d neither do its descendants</p> |
51 </body> | 50 </body> |
52 </html> | 51 </html> |
OLD | NEW |