[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:37:53 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 8d455ab4f9c82c8f405ad182a93a70d42dd05b67
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Apr 29 23:26:02 2004 +0000

    	Expose summary on tables.
    
            Reviewed by darin
    
            * kwq/KWQAccObject.mm:
            (-[KWQAccObject helpText]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6523 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 3730fba..a80efff 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,14 @@
 2004-04-29  David Hyatt  <hyatt at apple.com>
 
+	Expose summary on tables.
+	
+        Reviewed by darin
+
+        * kwq/KWQAccObject.mm:
+        (-[KWQAccObject helpText]):
+
+2004-04-29  David Hyatt  <hyatt at apple.com>
+
 	Implement image maps for accessibility.
 	
         Reviewed by darin
diff --git a/WebCore/kwq/KWQAccObject.mm b/WebCore/kwq/KWQAccObject.mm
index 265abe3..5ce2a8a 100644
--- a/WebCore/kwq/KWQAccObject.mm
+++ b/WebCore/kwq/KWQAccObject.mm
@@ -298,6 +298,9 @@ using khtml::RenderImage;
         return nil;
 
     if (m_areaElement) {
+        QString summary = static_cast<ElementImpl*>(m_areaElement)->getAttribute(ATTR_SUMMARY).string();
+        if (!summary.isEmpty())
+            return summary.getNSString();
         QString title = static_cast<ElementImpl*>(m_areaElement)->getAttribute(ATTR_TITLE).string();
         if (!title.isEmpty())
             return title.getNSString();
@@ -305,6 +308,9 @@ using khtml::RenderImage;
 
     for (RenderObject* curr = m_renderer; curr; curr = curr->parent()) {
         if (curr->element() && curr->element()->isHTMLElement()) {
+            QString summary = static_cast<ElementImpl*>(m_areaElement)->getAttribute(ATTR_SUMMARY).string();
+            if (!summary.isEmpty())
+                return summary.getNSString();
             QString title = static_cast<ElementImpl*>(curr->element())->getAttribute(ATTR_TITLE).string();
             if (!title.isEmpty())
                 return title.getNSString();

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list