| Index: third_party/WebKit/LayoutTests/accessibility/aria-checkbox-checked-mixed.html
|
| diff --git a/third_party/WebKit/LayoutTests/accessibility/aria-checkbox-checked-mixed.html b/third_party/WebKit/LayoutTests/accessibility/aria-checkbox-checked-mixed.html
|
| index 9ebcaf5ebdc3e7b34ee042b26c333e42e10b9879..4573fb7253af1ffc9e0c0f07b56e4a82d62dd563 100644
|
| --- a/third_party/WebKit/LayoutTests/accessibility/aria-checkbox-checked-mixed.html
|
| +++ b/third_party/WebKit/LayoutTests/accessibility/aria-checkbox-checked-mixed.html
|
| @@ -7,18 +7,26 @@
|
|
|
| <div id="element1" role="checkbox" aria-checked="mixed"></div>
|
| <div id="element2" role="menuitemcheckbox" aria-checked="mixed"></div>
|
| -<div id="element3" role="radio" aria-checked="mixed"></div> <!-- Treat as false for radio role -->
|
| -<div id="element4" role="menuitemradio" aria-checked="mixed"></div> <!-- Treat as false for menuitemradio role -->
|
| +<div id="element3" role="radio" aria-checked="mixed"></div>
|
| +<div id="element4" role="menuitemradio" aria-checked="mixed"></div>
|
| +<!-- Switch specifically does not support mixed -->
|
| +<div id="element5" role="switch" aria-checked="mixed"></div>
|
| +
|
| +<input id="element6" type="checkbox" aria-checked="mixed" checked />
|
| +<input id="element7" type="checkbox" aria-checked="mixed" />
|
| +<input id="element8" type="radio" aria-checked="mixed" checked />
|
| +<input id="element9" type="radio" aria-checked="mixed" />
|
| +<input id="element10" type="button" aria-checked="mixed" />
|
|
|
| <p id="description"></p>
|
| <div id="console"></div>
|
|
|
| <script>
|
|
|
| - description("Check whether mixed value is reported properly");
|
| + description("Check whether ARIA mixed state is reported properly");
|
|
|
| if (window.accessibilityController) {
|
| - for (var i = 1; i <= 4; i++) {
|
| + for (var i = 1; i <= 10; i++) {
|
| var element = accessibilityController.accessibleElementById("element" + i);
|
| debug("Role: " + element.role);
|
| debug("Mixed: " + element.isButtonStateMixed);
|
|
|