Commit 3818f68b authored by eric@webkit.org's avatar eric@webkit.org
Browse files

2010-05-15 Mario Sanchez Prada <msanchez@igalia.com>

        Reviewed by Xan Lopez.

        Accessibility: Implement isSelected in DRT for GTK
        https://bugs.webkit.org/show_bug.cgi?id=31018

        Do not skip aria-controls-with-tabs.html anymore

        * platform/gtk/Skipped:
2010-05-15  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Xan Lopez.

        Accessibility: Implement isSelected in DRT for GTK
        https://bugs.webkit.org/show_bug.cgi?id=31018

        Implement AccessibilityUIElement::isSelected() for Gtk

        * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
        (AccessibilityUIElement::isSelected):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5127d0ec
2010-05-15 Mario Sanchez Prada <msanchez@igalia.com>
Reviewed by Xan Lopez.
Accessibility: Implement isSelected in DRT for GTK
https://bugs.webkit.org/show_bug.cgi?id=31018
Do not skip aria-controls-with-tabs.html anymore
* platform/gtk/Skipped:
2010-05-15 Yael Aharon <yael.aharon@nokia.com>
 
Reviewed by Darin Adler.
......@@ -5476,7 +5476,6 @@ fast/css/color-correction.html
fast/multicol/single-line.html
# New tests failing
accessibility/aria-controls-with-tabs.html
accessibility/aria-list-and-listitem.html
accessibility/aria-presentational-role.html
accessibility/aria-checkbox-checked.html
......
2010-05-15 Mario Sanchez Prada <msanchez@igalia.com>
Reviewed by Xan Lopez.
Accessibility: Implement isSelected in DRT for GTK
https://bugs.webkit.org/show_bug.cgi?id=31018
Implement AccessibilityUIElement::isSelected() for Gtk
* DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
(AccessibilityUIElement::isSelected):
2010-05-14 Adam Barth <abarth@webkit.org>
 
Reviewed by Eric Seidel.
......@@ -26,6 +26,7 @@
#include "config.h"
#include "AccessibilityUIElement.h"
#include "GRefPtr.h"
#include <JavaScriptCore/JSStringRef.h>
#include <wtf/Assertions.h>
......@@ -364,8 +365,13 @@ bool AccessibilityUIElement::isRequired() const
bool AccessibilityUIElement::isSelected() const
{
// FIXME: implement
return false;
if (!ATK_IS_OBJECT(m_element))
return false;
GRefPtr<AtkStateSet> stateSet = adoptGRef(atk_object_ref_state_set(ATK_OBJECT(m_element)));
gboolean isSelected = atk_state_set_contains_state(stateSet.get(), ATK_STATE_SELECTED);
return isSelected;
}
int AccessibilityUIElement::hierarchicalLevel() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment