Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: LayoutTests/accessibility/image-map1.html

Issue 442563002: Fix getComputedStyle() for area element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix code style Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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">
-
Inactive 2014/08/07 15:36:07 Unrelated change.
+
<!-- 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>
-
+
Inactive 2014/08/07 15:36:07 ditto.
<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>
« no previous file with comments | « no previous file | LayoutTests/accessibility/image-map1-expected.txt » ('j') | LayoutTests/fast/css/area-computedStyle.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698