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

Side by Side Diff: LayoutTests/accessibility/table-caption.html

Issue 812243004: TableCaptionElement is not exposed to accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding layout test case Created 6 years 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 | « no previous file | LayoutTests/accessibility/table-caption-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
(Empty)
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body id="body">
7
8 <div id="content">
9
10 <table id="table" border=1>
11 <caption> TableCaption </caption>
12 <tr><td>foo</td><td>bar</td></tr>
13 </table>
14
15 </div>
16
17 <script>
18
19 description("This tests that table caption element is exposed for accessibil ity.");
20
21 if (window.accessibilityController) {
22 var table = accessibilityController.accessibleElementById("table");
23 shouldBe("table.childrenCount", "5");
24 window.captionText = table.childAtIndex(0).childAtIndex(0).stringValue;
25 shouldBe("captionText", "'AXValue: TableCaption'");
26 // Clear the HTML for cleaner results.
27 document.getElementById("content").innerHTML = "";
28 }
29
30
31 </script>
32
33 </body>
34 </html>
35
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/table-caption-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698