| Index: LayoutTests/fast/spatial-navigation/snav-div-in-anchor.html
|
| diff --git a/LayoutTests/fast/spatial-navigation/snav-hidden-focusable-element.html b/LayoutTests/fast/spatial-navigation/snav-div-in-anchor.html
|
| similarity index 65%
|
| copy from LayoutTests/fast/spatial-navigation/snav-hidden-focusable-element.html
|
| copy to LayoutTests/fast/spatial-navigation/snav-div-in-anchor.html
|
| index 62972a7fdc324852f4fa971b83d93806479f5729..170e1edc478aad04749cdc8fa877992e82e861d6 100644
|
| --- a/LayoutTests/fast/spatial-navigation/snav-hidden-focusable-element.html
|
| +++ b/LayoutTests/fast/spatial-navigation/snav-div-in-anchor.html
|
| @@ -5,7 +5,7 @@
|
| <script type="application/javascript">
|
|
|
| var resultMap = [
|
| - ["Down", "end"],
|
| + ["Down", "e1"],
|
| ["DONE", "DONE"]
|
| ];
|
|
|
| @@ -31,15 +31,13 @@
|
| }
|
|
|
| window.onload = runTest;
|
| -
|
| </script>
|
| </head>
|
| +<body id="some-content" xmlns="http://www.w3.org/1999/xhtml" style="padding:20px">
|
| +<a href="#" id="start"><div>DivInLinkA</div></a>
|
| +<a href="#" id="e1"><div>DivInLinkB</div></a>
|
|
|
| - <body id="some-content" xmlns="http://www.w3.org/1999/xhtml">
|
| - <p>This is <a id="start" href="a">link_1</a>.</p>
|
| - <br>This is <a id="1" style="display:none;" href="a">you should not see me</a> hidden link.<br>
|
| - <p>This is <a id="end" href="a">link_2</a>.</p>
|
| - <div id="console"></div>
|
| - <p>This test is to test that focusable elements with display:none do not grab the focus.</p>
|
| - </body>
|
| +<div id="console"></div>
|
| +This test is testing that we can navigate on links with divs inside.
|
| +</body>
|
| </html>
|
|
|