Title: [100979] trunk/LayoutTests
- Revision
- 100979
- Author
- ma...@webkit.org
- Date
- 2011-11-22 00:30:42 -0800 (Tue, 22 Nov 2011)
Log Message
[GTK] platform/gtk/accessibility/name-from-label.html fails
https://bugs.webkit.org/show_bug.cgi?id=71665
Reviewed by Philippe Normand.
Fix layout test to properly consider 'form' accessibility objects.
* platform/gtk/Skipped: Unskip name-from-label.html.
* platform/gtk/accessibility/name-from-label.html: Re-write layout
test to properly take into account the accessibility hierarchy.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (100978 => 100979)
--- trunk/LayoutTests/ChangeLog 2011-11-22 03:38:58 UTC (rev 100978)
+++ trunk/LayoutTests/ChangeLog 2011-11-22 08:30:42 UTC (rev 100979)
@@ -1,3 +1,16 @@
+2011-11-22 Mario Sanchez Prada <msanc...@igalia.com>
+
+ [GTK] platform/gtk/accessibility/name-from-label.html fails
+ https://bugs.webkit.org/show_bug.cgi?id=71665
+
+ Reviewed by Philippe Normand.
+
+ Fix layout test to properly consider 'form' accessibility objects.
+
+ * platform/gtk/Skipped: Unskip name-from-label.html.
+ * platform/gtk/accessibility/name-from-label.html: Re-write layout
+ test to properly take into account the accessibility hierarchy.
+
2011-11-21 Yuta Kitamura <yu...@chromium.org>
[GTK] Enable WebSocket hybi tests
Modified: trunk/LayoutTests/platform/gtk/Skipped (100978 => 100979)
--- trunk/LayoutTests/platform/gtk/Skipped 2011-11-22 03:38:58 UTC (rev 100978)
+++ trunk/LayoutTests/platform/gtk/Skipped 2011-11-22 08:30:42 UTC (rev 100979)
@@ -1498,9 +1498,6 @@
platform/gtk/accessibility/combo-box-collapsed-selection-changed.html
platform/gtk/accessibility/document-reload-events.html
-# https://bugs.webkit.org/show_bug.cgi?id=71665
-platform/gtk/accessibility/name-from-label.html
-
# https://bugs.webkit.org/show_bug.cgi?id=67713
accessibility/textbox-role-reports-selection.html
Modified: trunk/LayoutTests/platform/gtk/accessibility/name-from-label.html (100978 => 100979)
--- trunk/LayoutTests/platform/gtk/accessibility/name-from-label.html 2011-11-22 03:38:58 UTC (rev 100978)
+++ trunk/LayoutTests/platform/gtk/accessibility/name-from-label.html 2011-11-22 08:30:42 UTC (rev 100979)
@@ -12,12 +12,13 @@
<div id="console"></div>
<script>
var webArea;
- var child;
+ var form;
function checkResults() {
// Actually check the results
- shouldBe("child.role", "'AXRole: entry'");
- shouldBe("child.title", "'AXTitle: Full Name:'");
+ entry = form.childAtIndex(1);
+ shouldBe("entry.role", "'AXRole: entry'");
+ shouldBe("entry.title", "'AXTitle: Full Name:'");
finishJSTest();
}
@@ -30,7 +31,7 @@
document.getElementById("body").focus();
webArea = accessibilityController.focusedElement;
- child = webArea.childAtIndex(1);
+ form = webArea.childAtIndex(0);
// Check results on idle to ensure layout() is done
window.setTimeout("checkResults()", 0);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes