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

Side by Side 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: Try to use rebaseline 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 unified diff | Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/accessibility/image-map1-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../resources/js-test.js"></script> 3 <script src="../resources/js-test.js"></script>
4 </head> 4 </head>
5 <script> 5 <script>
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 </script> 8 </script>
9 <body id="body"> 9 <body id="body">
10 10
(...skipping 10 matching lines...) Expand all
21 <p id="description"></p> 21 <p id="description"></p>
22 <div id="console"></div> 22 <div id="console"></div>
23 23
24 <script> 24 <script>
25 description("This tests that you can reach the links within an image map ."); 25 description("This tests that you can reach the links within an image map .");
26 26
27 if (window.accessibilityController) { 27 if (window.accessibilityController) {
28 document.getElementById("body").focus(); 28 document.getElementById("body").focus();
29 29
30 var body = accessibilityController.focusedElement; 30 var body = accessibilityController.focusedElement;
31 shouldBe("body.childAtIndex(0).role", "'AXRole: AXLink'"); 31 shouldBe("body.childAtIndex(3).role", "'AXRole: AXLink'");
32 shouldBe("body.childAtIndex(0).title", "'AXTitle: Link1'"); 32 shouldBe("body.childAtIndex(3).title", "'AXTitle: Link1'");
33 33
34 shouldBe("body.childAtIndex(1).role", "'AXRole: AXLink'"); 34 shouldBe("body.childAtIndex(4).role", "'AXRole: AXLink'");
35 shouldBe("body.childAtIndex(1).title", "'AXTitle: Link2'"); 35 shouldBe("body.childAtIndex(4).title", "'AXTitle: Link2'");
36 36
37 shouldBe("body.childAtIndex(2).role", "'AXRole: AXLink'"); 37 shouldBe("body.childAtIndex(5).role", "'AXRole: AXLink'");
38 shouldBe("body.childAtIndex(2).title", "'AXTitle: Link3'"); 38 shouldBe("body.childAtIndex(5).title", "'AXTitle: Link3'");
39 } 39 }
40 </script> 40 </script>
41 41
42 </body> 42 </body>
43 </html> 43 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/accessibility/image-map1-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698