[webkit-reviews] review denied: [Bug 45383] [Gtk] Incorrect exposure of list items whose children are elements : [Attachment 67918] Patch proposal
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 20 11:19:09 PDT 2010
chris fleizach <cfleizach at apple.com> has denied Mario Sanchez Prada
<msanchez at igalia.com>'s request for review:
Bug 45383: [Gtk] Incorrect exposure of list items whose children are elements
https://bugs.webkit.org/show_bug.cgi?id=45383
Attachment 67918: Patch proposal
https://bugs.webkit.org/attachment.cgi?id=67918&action=review
------- Additional Comments from chris fleizach <cfleizach at apple.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=67918&action=review
> WebCore/accessibility/gtk/AccessibilityObjectAtk.cpp:76
> + // Include all list items, regardless they have or not inline children
seems like you already have "role" here, so you shouldn't have to call
roleValue() again
> WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:2031
> + if (role != TableRole &&
axRenderObject->renderer()->childrenInline())
you should verify renderer() is not nil before accessing inline children
> WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:2036
> + AccessibilityObject* axRenderChild =
axRenderObject->firstChild();
Can't you just access ->children() of the axRenderObject and then check if it
has an item in it? that would be the first accessible element.
More information about the webkit-reviews
mailing list