Title: [138112] trunk/LayoutTests
Revision
138112
Author
dmazz...@google.com
Date
2012-12-18 21:13:59 -0800 (Tue, 18 Dec 2012)

Log Message

AX: aria-controls-with-tabs should run on Chromium
https://bugs.webkit.org/show_bug.cgi?id=105381

Reviewed by Chris Fleizach.

Use accessibleElementById so the test works on all platforms,
and specifically unskip it in the Chromium expectations.

* accessibility/aria-controls-with-tabs.html:
* platform/chromium/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (138111 => 138112)


--- trunk/LayoutTests/ChangeLog	2012-12-19 04:33:14 UTC (rev 138111)
+++ trunk/LayoutTests/ChangeLog	2012-12-19 05:13:59 UTC (rev 138112)
@@ -1,3 +1,16 @@
+2012-12-18  Dominic Mazzoni  <dmazz...@google.com>
+
+        AX: aria-controls-with-tabs should run on Chromium
+        https://bugs.webkit.org/show_bug.cgi?id=105381
+
+        Reviewed by Chris Fleizach.
+
+        Use accessibleElementById so the test works on all platforms,
+        and specifically unskip it in the Chromium expectations.
+
+        * accessibility/aria-controls-with-tabs.html:
+        * platform/chromium/TestExpectations:
+
 2012-12-18  Anton Vayvod  <avay...@chromium.org>
 
         Text Autosizing: containers wider than their enclosing clusters should be autosized as separate clusters

Modified: trunk/LayoutTests/accessibility/aria-controls-with-tabs.html (138111 => 138112)


--- trunk/LayoutTests/accessibility/aria-controls-with-tabs.html	2012-12-19 04:33:14 UTC (rev 138111)
+++ trunk/LayoutTests/accessibility/aria-controls-with-tabs.html	2012-12-19 05:13:59 UTC (rev 138112)
@@ -30,9 +30,7 @@
 
     if (window.accessibilityController) {
 
-          var root = accessibilityController.rootElement;
-          var body = root.childAtIndex(0);
-          var tabList = body.childAtIndex(0);
+          var tabList = accessibilityController.accessibleElementById('tablist_1');
           var tab1 = tabList.childAtIndex(0);
           var tab2 = tabList.childAtIndex(1);
 

Modified: trunk/LayoutTests/platform/chromium/TestExpectations (138111 => 138112)


--- trunk/LayoutTests/platform/chromium/TestExpectations	2012-12-19 04:33:14 UTC (rev 138111)
+++ trunk/LayoutTests/platform/chromium/TestExpectations	2012-12-19 05:13:59 UTC (rev 138112)
@@ -1388,7 +1388,6 @@
 crbug.com/10322 platform/win/accessibility
 crbug.com/10322 accessibility/aria-activedescendant-crash.html [ Skip ]
 crbug.com/10322 accessibility/aria-combobox.html [ Skip ]
-crbug.com/10322 accessibility/aria-controls-with-tabs.html [ Skip ]
 crbug.com/10322 accessibility/aria-invalid.html [ Skip ]
 crbug.com/10322 accessibility/aria-labelledby-overrides-label.html [ Skip ]
 crbug.com/10322 accessibility/aria-menubar-menuitems.html [ Skip ]
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to