| Index: third_party/WebKit/LayoutTests/accessibility/selection-states.html
|
| diff --git a/third_party/WebKit/LayoutTests/accessibility/selection-states.html b/third_party/WebKit/LayoutTests/accessibility/selection-states.html
|
| index 820412e672c3527a3331a134cdd5ef2ad593da61..c01b879b5d99b0dfb81dc9a96d45329abf2ed0f8 100644
|
| --- a/third_party/WebKit/LayoutTests/accessibility/selection-states.html
|
| +++ b/third_party/WebKit/LayoutTests/accessibility/selection-states.html
|
| @@ -25,13 +25,14 @@
|
|
|
| document.getElementById("selectElement").focus();
|
|
|
| - shouldBeTrue('accessibilityController.focusedElement.isMultiSelectable');
|
| - shouldBeTrue('accessibilityController.focusedElement.childAtIndex(0).isSelectable');
|
| - shouldBeTrue('accessibilityController.focusedElement.childAtIndex(0).isSelected');
|
| - shouldBeTrue('accessibilityController.focusedElement.childAtIndex(1).isSelectable');
|
| - shouldBeFalse('accessibilityController.focusedElement.childAtIndex(1).isSelected');
|
| - shouldBeFalse('accessibilityController.focusedElement.childAtIndex(2).isSelectable');
|
| - shouldBeFalse('accessibilityController.focusedElement.childAtIndex(2).isSelected');
|
| + var axSelectElement = accessibilityController.focusedElement;
|
| + shouldBeTrue('axSelectElement.isMultiSelectable');
|
| + shouldBeTrue('axSelectElement.childAtIndex(0).isSelectable');
|
| + shouldBeTrue('axSelectElement.childAtIndex(0).isSelected');
|
| + shouldBeTrue('axSelectElement.childAtIndex(1).isSelectable');
|
| + shouldBeFalse('axSelectElement.childAtIndex(1).isSelected');
|
| + shouldBeFalse('axSelectElement.childAtIndex(2).isSelectable');
|
| + shouldBeFalse('axSelectElement.childAtIndex(2).isSelected');
|
| }
|
| </script>
|
| </body>
|
|
|