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

Side by Side Diff: LayoutTests/accessibility/aria-checkbox-checked-mixed.html

Issue 799533003: Update some logic to check mixed state of ARIA elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed expectation diff. 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/aria-checkbox-checked-mixed-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="element1" role="checkbox" aria-checked="mixed"></div>
9 <div id="element2" role="menuitemcheckbox" aria-checked="mixed"></div>
10 <div id="element3" role="radio" aria-checked="mixed"></div> <!-- Treat as false for radio role -->
11 <div id="element4" role="menuitemradio" aria-checked="mixed"></div> <!-- Treat a s false for menuitemradio role -->
12
13 <p id="description"></p>
14 <div id="console"></div>
15
16 <script>
17
18 description("Check whether mixed value is reported properly");
19
20 if (window.accessibilityController) {
21 for (var i = 1; i <= 4; i++) {
22 var element = accessibilityController.accessibleElementById("element " + i);
23 debug("Role: " + element.role);
24 debug("Mixed: " + element.isButtonStateMixed);
25 }
26 }
27
28 </script>
29
30 </body>
31 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/aria-checkbox-checked-mixed-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698