[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da

mario at webkit.org mario at webkit.org
Wed Dec 22 17:49:14 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 83fa96cbf1a2cfdb119f2c13406663aaa985ab90
Author: mario at webkit.org <mario at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Nov 30 22:07:13 2010 +0000

    2010-11-30  Mario Sanchez Prada  <msanchez at igalia.com>
    
            Reviewed by Xan Lopez.
    
            GTK: AX: implement press in DRT
            https://bugs.webkit.org/show_bug.cgi?id=36146
    
            Unskipped test accessibility/label-element-press.html.
    
            * platform/gtk/Skipped: Unskip passing test.
    2010-11-30  Mario Sanchez Prada  <msanchez at igalia.com>
    
            Reviewed by Xan Lopez.
    
            GTK: AX: implement press in DRT
            https://bugs.webkit.org/show_bug.cgi?id=36146
    
            Implement AccessibilityUIElement::press() for GTK.
    
            * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
            (AccessibilityUIElement::press): Implemented.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72963 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index adc23c3..868f631 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2010-11-30  Mario Sanchez Prada  <msanchez at igalia.com>
+
+        Reviewed by Xan Lopez.
+
+        GTK: AX: implement press in DRT
+        https://bugs.webkit.org/show_bug.cgi?id=36146
+
+        Unskipped test accessibility/label-element-press.html.
+
+        * platform/gtk/Skipped: Unskip passing test.
+
 2010-11-30  Daniel Bates  <dbates at rim.com>
 
         Reviewed by David Hyatt.
diff --git a/LayoutTests/platform/gtk/Skipped b/LayoutTests/platform/gtk/Skipped
index 8dde6dd..ce9edab 100644
--- a/LayoutTests/platform/gtk/Skipped
+++ b/LayoutTests/platform/gtk/Skipped
@@ -121,9 +121,6 @@ accessibility/table-with-aria-role.html
 accessibility/table-with-rules.html
 accessibility/aria-list-and-listitem.html
 
-# https://bugs.webkit.org/show_bug.cgi?id=36146 - GTK: AX: implement press in DRT 
-accessibility/label-element-press.html
-
 # Tests in css2.1/ directory
 #   Tests generating new results
 css2.1/t09-c5526c-display-00-e.html
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index c686b8a..775bbff 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,15 @@
+2010-11-30  Mario Sanchez Prada  <msanchez at igalia.com>
+
+        Reviewed by Xan Lopez.
+
+        GTK: AX: implement press in DRT
+        https://bugs.webkit.org/show_bug.cgi?id=36146
+
+        Implement AccessibilityUIElement::press() for GTK.
+
+        * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
+        (AccessibilityUIElement::press): Implemented.
+
 2010-11-29  Mihai Parparita  <mihaip at chromium.org>
 
         Reviewed by Tony Chang.
diff --git a/WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp b/WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp
index e09de33..c4f39be 100644
--- a/WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp
+++ b/WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp
@@ -570,7 +570,16 @@ void AccessibilityUIElement::decrement()
 
 void AccessibilityUIElement::press()
 {
-    // FIXME: implement
+    if (!m_element)
+        return;
+
+    ASSERT(ATK_IS_OBJECT(m_element));
+
+    if (!ATK_IS_ACTION(m_element))
+        return;
+
+    // Only one action per object is supported so far.
+    atk_action_do_action(ATK_ACTION(m_element), 0);
 }
 
 void AccessibilityUIElement::showMenu()

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list