[Webkit-unassigned] [Bug 27085] [Gtk] Incorrect rendering of list

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 22 18:29:23 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27085





--- Comment #1 from Joanmarie Diggs <joanmarie.diggs at gmail.com>  2009-10-22 18:29:23 PDT ---
Xan, I could use a consult. :-)

What is causing the paragraphs to be exposed as ROLE_LIST_ITEM turns out to the
fix for bug 25414. Making the change below solves part of the problem, namely
it causes the paragraphs to be exposed as role paragraph (good) but they are
still children of the list rather than of the list item (bad).

I'll poke around to see what it would take to solve the node/hierarchy issue.
BUT, I assume there was a reason you specifically called
parentObjectUnignored() instead of parentObject(). What was the reason? Thanks!

--- a/WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp
+++ b/WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp
@@ -343,7 +343,7 @@ static AtkRole webkit_accessible_get_role(AtkObject*
object)

     // WebCore does not seem to have a role for list items
     if (AXObject->isGroup()) {
-        AccessibilityObject* parent = AXObject->parentObjectUnignored();
+        AccessibilityObject* parent = AXObject->parentObject();
         if (parent && parent->isList())
             return ATK_ROLE_LIST_ITEM;
     }

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list