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

Side by Side Diff: LayoutTests/accessibility/dl-role.html

Issue 623693002: Add LayoutTest for AX Role of dl element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | LayoutTests/accessibility/dl-role-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>
2 <script src="../resources/js-test.js"></script>
3 <dl id="dlElem">
4 <dt id="dtElem">term</dt>
5 <dd id="ddElem">definition</dd>
6 </dl>
7
8 <script>
9 description("This tests that AXRole for dl element is AXDescriptionList.")
10
11 if (window.accessibilityController) {
12 var dlElement = accessibilityController.accessibleElementById("dlElem");
13 shouldBe("dlElement.role", "'AXRole: AXDescriptionList'");
14
15 var dtElement = accessibilityController.accessibleElementById("dtElem");
16 shouldBe("dtElement.role", "'AXRole: AXDescriptionListTerm'");
17
18 var ddElement = accessibilityController.accessibleElementById("ddElem");
19 shouldBe("ddElement.role", "'AXRole: AXDescriptionListDetail'");
20 }
21 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/dl-role-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698