Diff
Modified: trunk/LayoutTests/ChangeLog (114361 => 114362)
--- trunk/LayoutTests/ChangeLog 2012-04-17 09:48:15 UTC (rev 114361)
+++ trunk/LayoutTests/ChangeLog 2012-04-17 10:58:40 UTC (rev 114362)
@@ -1,3 +1,16 @@
+2012-04-17 Mario Sanchez Prada <msanc...@igalia.com>
+
+ Unreviewed, GTK rebaseline after r113981.
+
+ * accessibility/aria-labelledby-on-input-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-labelledby-on-input-expected.txt.
+ * accessibility/aria-labelledby-stay-within-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-labelledby-stay-within-expected.txt.
+ * platform/gtk/accessibility/aria-list-and-listitem-expected.txt: Added.
+ * platform/gtk/accessibility/aria-list-and-listitem.html: Added.
+ * platform/gtk/accessibility/aria-option-role-expected.txt: Added.
+ * platform/gtk/accessibility/aria-option-role.html: Added.
+ * platform/gtk/accessibility/lists-expected.txt: Added.
+ * platform/gtk/test_expectations.txt:
+
2012-04-17 Csaba Osztrogonác <o...@webkit.org>
[Qt] Unreviewed gardening, skip tests because ENABLE(SHADOW_DOM) is disabled.
Copied: trunk/LayoutTests/accessibility/aria-labelledby-on-input-expected.txt (from rev 114361, trunk/LayoutTests/platform/mac/accessibility/aria-labelledby-on-input-expected.txt) (0 => 114362)
--- trunk/LayoutTests/accessibility/aria-labelledby-on-input-expected.txt (rev 0)
+++ trunk/LayoutTests/accessibility/aria-labelledby-on-input-expected.txt 2012-04-17 10:58:40 UTC (rev 114362)
@@ -0,0 +1,3 @@
+This computer will self-destruct in minutes.
+
+The accessibility description is "AXDescription: This computer will self-destruct in 10 minutes."
Copied: trunk/LayoutTests/accessibility/aria-labelledby-stay-within-expected.txt (from rev 114361, trunk/LayoutTests/platform/mac/accessibility/aria-labelledby-stay-within-expected.txt) (0 => 114362)
--- trunk/LayoutTests/accessibility/aria-labelledby-stay-within-expected.txt (rev 0)
+++ trunk/LayoutTests/accessibility/aria-labelledby-stay-within-expected.txt 2012-04-17 10:58:40 UTC (rev 114362)
@@ -0,0 +1,13 @@
+Some focusable content before the application widgets.
+
+Get New Mail
+Compose New Message
+Reply
+Reply All
+Forward
+Delete
+Item Four
+Item Five
+Item Six
+Item Seven
+Passed
Added: trunk/LayoutTests/platform/gtk/accessibility/aria-list-and-listitem-expected.txt (0 => 114362)
--- trunk/LayoutTests/platform/gtk/accessibility/aria-list-and-listitem-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/accessibility/aria-list-and-listitem-expected.txt 2012-04-17 10:58:40 UTC (rev 114362)
@@ -0,0 +1,14 @@
+
+
+This tests that the ARIA roles of list and listitem map correctly to Mac accessibility roles.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS obj.childAtIndex(0).role is 'AXRole: list'
+PASS obj.childAtIndex(0).childAtIndex(0).role is 'AXRole: list item'
+PASS obj.childAtIndex(0).childAtIndex(1).role is 'AXRole: list item'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/platform/gtk/accessibility/aria-list-and-listitem.html (0 => 114362)
--- trunk/LayoutTests/platform/gtk/accessibility/aria-list-and-listitem.html (rev 0)
+++ trunk/LayoutTests/platform/gtk/accessibility/aria-list-and-listitem.html 2012-04-17 10:58:40 UTC (rev 114362)
@@ -0,0 +1,35 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<script src=""
+</head>
+<body id="body">
+
+<div role="list">
+<div role="listitem" aria-label="item 1"><img src='' width=100 height=100></div>
+<div role="listitem" aria-label="item 2"><img src='' width=100 height=100></div>
+</div>
+
+<p id="description"></p>
+<div id="console"></div>
+
+<script>
+
+ description("This tests that the ARIA roles of list and listitem map correctly to Mac accessibility roles.");
+
+ if (window.accessibilityController) {
+
+ // this text field should be required.
+ document.getElementById("body").focus();
+ var obj = accessibilityController.focusedElement;
+
+ shouldBe("obj.childAtIndex(0).role", "'AXRole: list'");
+ shouldBe("obj.childAtIndex(0).childAtIndex(0).role", "'AXRole: list item'");
+ shouldBe("obj.childAtIndex(0).childAtIndex(1).role", "'AXRole: list item'");
+ }
+
+</script>
+
+<script src=""
+</body>
+</html>
Added: trunk/LayoutTests/platform/gtk/accessibility/aria-option-role-expected.txt (0 => 114362)
--- trunk/LayoutTests/platform/gtk/accessibility/aria-option-role-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/accessibility/aria-option-role-expected.txt 2012-04-17 10:58:40 UTC (rev 114362)
@@ -0,0 +1,17 @@
+option 1
+option 2
+This tests that the aria 'option' role works as expected.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS firstChild.role is 'AXRole: list item'
+PASS firstChild.title is 'AXTitle: option 1'
+PASS secondChild.role 'AXRole: list item'
+PASS secondChild.description is 'AXDescription: label 2'
+PASS firstChild.childrenCount is 0
+PASS secondChild.childrenCount is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/platform/gtk/accessibility/aria-option-role.html (0 => 114362)
--- trunk/LayoutTests/platform/gtk/accessibility/aria-option-role.html (rev 0)
+++ trunk/LayoutTests/platform/gtk/accessibility/aria-option-role.html 2012-04-17 10:58:40 UTC (rev 114362)
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<script src=""
+</head>
+<body id="body">
+
+<div role="listbox">
+<div role="option">option 1</div>
+<div role="option" aria-label="label 2">option 2</div>
+</div>
+
+<p id="description"></p>
+<div id="console"></div>
+
+<script>
+
+ description("This tests that the aria 'option' role works as expected.");
+
+ if (window.accessibilityController) {
+
+ var body = document.getElementById("body");
+ body.focus();
+
+ var listBox = accessibilityController.focusedElement.childAtIndex(0);
+ var firstChild = listBox.childAtIndex(0);
+ var secondChild = listBox.childAtIndex(1);
+ shouldBe("firstChild.role", "'AXRole: AXStaticText'");
+ shouldBe("firstChild.title", "'AXTitle: option 1'");
+
+ shouldBe("secondChild.role", "'AXRole: AXStaticText'");
+ shouldBe("secondChild.description", "'AXDescription: label 2'");
+
+ shouldBe("firstChild.childrenCount", "0");
+ shouldBe("secondChild.childrenCount", "0");
+ }
+
+</script>
+
+<script src=""
+</body>
+</html>
Added: trunk/LayoutTests/platform/gtk/accessibility/lists-expected.txt (0 => 114362)
--- trunk/LayoutTests/platform/gtk/accessibility/lists-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/accessibility/lists-expected.txt 2012-04-17 10:58:40 UTC (rev 114362)
@@ -0,0 +1,22 @@
+test 1
+test 2
+test 1
+test 2
+term 1
+meaning 2
+term b
+meaning 1
+meaning 2
+
+
+
+
+
+
+
+
+
+
+
+
+
Modified: trunk/LayoutTests/platform/gtk/test_expectations.txt (114361 => 114362)
--- trunk/LayoutTests/platform/gtk/test_expectations.txt 2012-04-17 09:48:15 UTC (rev 114361)
+++ trunk/LayoutTests/platform/gtk/test_expectations.txt 2012-04-17 10:58:40 UTC (rev 114362)
@@ -530,20 +530,14 @@
BUGWK82484 : fast/loader/file-URL-with-port-number.html = TEXT
BUGWK82484 : fast/loader/location-port.html = TEXT
-BUGWKGTK : accessibility/aria-checkbox-sends-notification.html = FAIL
BUGWKGTK : accessibility/aria-hidden.html = FAIL
BUGWKGTK : accessibility/aria-hidden-with-elements.html = FAIL
BUGWKGTK : accessibility/aria-invalid.html = FAIL
-BUGWKGTK : accessibility/aria-labelledby-on-input.html = FAIL
BUGWKGTK : accessibility/aria-labelledby-overrides-label.html = FAIL
-BUGWKGTK : accessibility/aria-labelledby-stay-within.html = FAIL
BUGWKGTK : accessibility/aria-link-supports-press.html = FAIL
-BUGWKGTK : accessibility/aria-list-and-listitem.html = FAIL
-BUGWKGTK : accessibility/aria-option-role.html = FAIL
BUGWKGTK : accessibility/aria-presentational-role.html = FAIL
BUGWKGTK : accessibility/aria-readonly.html = FAIL
BUGWKGTK : accessibility/aria-scrollbar-role.html = FAIL
-BUGWKGTK : accessibility/aria-tab-roles.html = FAIL
BUGWKGTK : accessibility/aria-text-role.html = FAIL
BUGWKGTK : accessibility/aria-used-on-image-maps.html = FAIL
BUGWKGTK : accessibility/button-press-action.html = FAIL
@@ -552,31 +546,16 @@
BUGWKGTK : accessibility/ellipsis-text.html = FAIL
BUGWKGTK : accessibility/iframe-bastardization.html = FAIL
BUGWKGTK : accessibility/ignore-spacer-elements.html = FAIL
-BUGWKGTK : accessibility/image-link.html = FAIL
-BUGWKGTK : accessibility/image-map1.html = FAIL
-BUGWKGTK : accessibility/image-map2.html = FAIL
BUGWKGTK : accessibility/inline-continuations.html = FAIL
-BUGWKGTK : accessibility/internal-link-anchors2.html = FAIL
BUGWKGTK : accessibility/label-for-control-hittest.html = FAIL
BUGWKGTK : accessibility/language-attribute.html = FAIL
-BUGWKGTK : accessibility/legend.html = FAIL
-BUGWKGTK : accessibility/lists.html = FAIL
BUGWKGTK : accessibility/loading-iframe-sends-notification.html = FAIL
BUGWKGTK : accessibility/loading-iframe-updates-axtree.html = FAIL
-BUGWKGTK : accessibility/notification-listeners.html = FAIL
BUGWKGTK : accessibility/onclick-handlers.html = FAIL
BUGWKGTK : accessibility/placeholder.html = FAIL
-BUGWKGTK : accessibility/plugin.html = FAIL
-BUGWKGTK : accessibility/radio-button-group-members.html = FAIL
BUGWKGTK : accessibility/radio-button-title-label.html = FAIL
BUGWKGTK : accessibility/secure-textfield-title-ui.html = FAIL
BUGWKGTK : accessibility/selection-states.html = FAIL
-BUGWKGTK : accessibility/table-attributes.html = FAIL
-BUGWKGTK : accessibility/table-detection.html = FAIL
-BUGWKGTK : accessibility/table-one-cell.html = FAIL
-BUGWKGTK : accessibility/table-sections.html = FAIL
-BUGWKGTK : accessibility/table-with-aria-role.html = FAIL
-BUGWKGTK : accessibility/table-with-rules.html = FAIL
BUGWKGTK : accessibility/textarea-insertion-point-line-number.html = FAIL
BUGWKGTK : accessibility/textarea-line-for-index.html = FAIL
BUGWKGTK : accessibility/textarea-selected-text-range.html = FAIL
@@ -1317,9 +1296,39 @@
BUGWK70485 : fast/events/drag-selects-image.html = FAIL
// Missing DRT AccessibilityController::addNotificationListener implementation
-BUGWK70606 : accessibility/menu-list-sends-change-notification.html = FAIL
-BUGWK70606 : accessibility/multiselect-list-reports-active-option.html = FAIL
+BUGWK70606 SKIP : accessibility/aria-checkbox-sends-notification.html = FAIL
+BUGWK70606 SKIP : accessibility/menu-list-sends-change-notification.html = FAIL
+BUGWK70606 SKIP : accessibility/multiselect-list-reports-active-option.html = FAIL
+BUGWK70606 SKIP : accessibility/notification-listeners.html = FAIL
+// ARIA Roles not being exposed for tab, tabpanel and tablist
+BUGWK84043 SKIP : accessibility/aria-tab-roles.html = FAIL
+
+// Image links not properly exposed
+BUGWK84044 SKIP : accessibility/image-link.html = FAIL
+
+// Expose title and alternative text for links in image maps
+BUGWK84045 SKIP : accessibility/image-map1.html = FAIL
+BUGWK84045 SKIP : accessibility/image-map2.html = FAIL
+
+// Properly expose <legend> elements to ATs
+BUGWK84137 SKIP : accessibility/legend.html = FAIL
+
+// Accessibility tests that should never be run for GTK due to be
+// written in a platform-specific way. They should either be moved to
+// the right platform or re-written in a more platform-agnostic way.
+BUGWKGTK SKIP WONTFIX : accessibility/aria-list-and-listitem.html = FAIL
+BUGWKGTK SKIP WONTFIX : accessibility/aria-option-role.html = FAIL
+BUGWKGTK SKIP WONTFIX : accessibility/internal-link-anchors2.html = FAIL
+BUGWKGTK SKIP WONTFIX : accessibility/radio-button-group-members.html = FAIL
+BUGWKGTK SKIP WONTFIX : accessibility/table-attributes.html = FAIL
+BUGWKGTK SKIP WONTFIX : accessibility/table-detection.html = FAIL
+BUGWKGTK SKIP WONTFIX : accessibility/table-one-cell.html = FAIL
+BUGWKGTK SKIP WONTFIX : accessibility/table-sections.html = FAIL
+BUGWKGTK SKIP WONTFIX : accessibility/table-with-aria-role.html = FAIL
+BUGWKGTK SKIP WONTFIX : accessibility/table-with-rules.html = FAIL
+BUGWKGTK SKIP WONTFIX : accessibility/plugin.html = FAIL
+
BUGWK71022 : fast/canvas/canvas-composite-image.html = FAIL
BUGWK71022 : fast/canvas/canvas-composite-canvas.html = FAIL
Deleted: trunk/LayoutTests/platform/mac/accessibility/aria-labelledby-on-input-expected.txt (114361 => 114362)
--- trunk/LayoutTests/platform/mac/accessibility/aria-labelledby-on-input-expected.txt 2012-04-17 09:48:15 UTC (rev 114361)
+++ trunk/LayoutTests/platform/mac/accessibility/aria-labelledby-on-input-expected.txt 2012-04-17 10:58:40 UTC (rev 114362)
@@ -1,3 +0,0 @@
-This computer will self-destruct in minutes.
-
-The accessibility description is "AXDescription: This computer will self-destruct in 10 minutes."
Deleted: trunk/LayoutTests/platform/mac/accessibility/aria-labelledby-stay-within-expected.txt (114361 => 114362)
--- trunk/LayoutTests/platform/mac/accessibility/aria-labelledby-stay-within-expected.txt 2012-04-17 09:48:15 UTC (rev 114361)
+++ trunk/LayoutTests/platform/mac/accessibility/aria-labelledby-stay-within-expected.txt 2012-04-17 10:58:40 UTC (rev 114362)
@@ -1,13 +0,0 @@
-Some focusable content before the application widgets.
-
-Get New Mail
-Compose New Message
-Reply
-Reply All
-Forward
-Delete
-Item Four
-Item Five
-Item Six
-Item Seven
-Passed