| Index: LayoutTests/accessibility/image-map1.html
|
| diff --git a/LayoutTests/accessibility/image-map1.html b/LayoutTests/accessibility/image-map1.html
|
| index 9bf8467d9a2d023e3f724455665a0ef8cb9e5b15..f1bb7b8b3c75dce932861e3ef6ef99f852cd3502 100644
|
| --- a/LayoutTests/accessibility/image-map1.html
|
| +++ b/LayoutTests/accessibility/image-map1.html
|
| @@ -7,7 +7,7 @@
|
| testRunner.dumpAsText();
|
| </script>
|
| <body id="body">
|
| -
|
| +
|
| <!-- Test image map -->
|
| <map id="apple" name="imagemap1">
|
| <area shape="rect" coords="10,10,133,72" href="http://www.apple.com" title="Link1" />
|
| @@ -20,7 +20,7 @@
|
|
|
| <p id="description"></p>
|
| <div id="console"></div>
|
| -
|
| +
|
| <script>
|
| description("This tests that you can reach the links within an image map.");
|
|
|
| @@ -28,14 +28,14 @@
|
| document.getElementById("body").focus();
|
|
|
| var body = accessibilityController.focusedElement;
|
| - shouldBe("body.childAtIndex(0).role", "'AXRole: AXLink'");
|
| - shouldBe("body.childAtIndex(0).title", "'AXTitle: Link1'");
|
| + shouldBe("body.childAtIndex(3).role", "'AXRole: AXLink'");
|
| + shouldBe("body.childAtIndex(3).title", "'AXTitle: Link1'");
|
|
|
| - shouldBe("body.childAtIndex(1).role", "'AXRole: AXLink'");
|
| - shouldBe("body.childAtIndex(1).title", "'AXTitle: Link2'");
|
| + shouldBe("body.childAtIndex(4).role", "'AXRole: AXLink'");
|
| + shouldBe("body.childAtIndex(4).title", "'AXTitle: Link2'");
|
|
|
| - shouldBe("body.childAtIndex(2).role", "'AXRole: AXLink'");
|
| - shouldBe("body.childAtIndex(2).title", "'AXTitle: Link3'");
|
| + shouldBe("body.childAtIndex(5).role", "'AXRole: AXLink'");
|
| + shouldBe("body.childAtIndex(5).title", "'AXTitle: Link3'");
|
| }
|
| </script>
|
|
|
|
|