| Index: LayoutTests/fast/spatial-navigation/snav-aligned-not-aligned.html
|
| diff --git a/LayoutTests/fast/spatial-navigation/snav-not-below.html b/LayoutTests/fast/spatial-navigation/snav-aligned-not-aligned.html
|
| similarity index 65%
|
| copy from LayoutTests/fast/spatial-navigation/snav-not-below.html
|
| copy to LayoutTests/fast/spatial-navigation/snav-aligned-not-aligned.html
|
| index fa8066dabf79be9ef459de7c130dff7e480b354f..51f2be6521af1d1cd7c762b060b1c60aaa87d496 100644
|
| --- a/LayoutTests/fast/spatial-navigation/snav-not-below.html
|
| +++ b/LayoutTests/fast/spatial-navigation/snav-aligned-not-aligned.html
|
| @@ -6,46 +6,56 @@
|
| <style>
|
| body a {
|
| position: absolute;
|
| - height: 100px;
|
| + height: 50px;
|
| width: 100px;
|
| border: 1px solid black;
|
| }
|
| #e1 {
|
| - left: 10px;
|
| - top: 210px;
|
| + left: 50px;
|
| + top: 250px;
|
| }
|
| #e2 {
|
| - left: 120px;
|
| - top: 250px;
|
| + left: 200px;
|
| + top: 300px;
|
| + height: 100px;
|
| }
|
| #e3 {
|
| - left: 250px;
|
| + left: 350px;
|
| + top: 300px;
|
| +}
|
| +#e4 {
|
| + left: 500px;
|
| + top: 200px;
|
| + height: 100px;
|
| +}
|
| +#e5 {
|
| + left: 650px;
|
| top: 250px;
|
| - height: 120px;
|
| }
|
| </style>
|
| <body id="some-content" onload="runTest()">
|
| <p id="description"></p>
|
| <div id="elements">
|
| -<a id="e1" href="#e1">Element 1</a>
|
| -<a id="e2" href="#e2">Element 2</a>
|
| -<a id="e3" href="#e3">Element 3</a>
|
| +<a id="e1" href="#e1">E1</a>
|
| +<a id="e2" href="#e2">E2</a>
|
| +<a id="e3" href="#e3">E3</a>
|
| +<a id="e4" href="#e4">E4</a>
|
| +<a id="e5" href="#e5">E5</a>
|
| </div>
|
| <div id="console"></div>
|
| <script type="application/javascript">
|
| -description('This test ensures that e2 is NOT below e1 and e3 is NOT below e2.');
|
| +description('This test ensures that Spatial Navigation works with symmetrically positoned rects');
|
|
|
| jsTestIsAsync = true;
|
|
|
| var resultMap = [
|
| - ["Down", "e1"],
|
| - ["Right", "e2"],
|
| + ["Right", "e4"],
|
| + ["Right", "e5"],
|
| + ["Left", "e4"],
|
| + ["Left", "e1"],
|
| ["Down", "e2"],
|
| ["Right", "e3"],
|
| - ["Up", "e3"],
|
| - ["Left", "e2"],
|
| - ["Up", "e2"],
|
| - ["Left", "e1"],
|
| + ["Right", "e4"],
|
| ["DONE", "DONE"]
|
| ];
|
|
|
|
|