[webkit-reviews] review requested: [Bug 27085] [Gtk] Incorrect rendering of list : [Attachment 41812] add way for platforms to indicate an object should not be ignored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 24 21:20:59 PDT 2009


Joanmarie Diggs <joanmarie.diggs at gmail.com> has asked  for review:
Bug 27085: [Gtk] Incorrect rendering of list
https://bugs.webkit.org/show_bug.cgi?id=27085

Attachment 41812: add way for platforms to indicate an object should not be
ignored
https://bugs.webkit.org/attachment.cgi?id=41812&action=review

------- Additional Comments from Joanmarie Diggs <joanmarie.diggs at gmail.com>
Okay, after some more digging, what's going on appears to be this: Given a list
item whose content consists entirely of other HTML elements (e.g. paragraphs),
the children of the list item with the content are not ignored; the list item
itself, however, is ignored. As a result, we lose the hierarchy we expect,
namely:

-> list
   -> list item
   -> list item
      -> paragraph
      -> paragraph
      -> paragraph
   -> list item
   -> list item
   -> list item

The way to solve this problem is to not ignore the list item. :-)

Operating under the assumption that the other platforms somehow don't have this
issue, this patch gives platforms the opportunity to indicate that an object
should not be ignored before accessibilityIsIgnored() does its thang.

As a related aside, what might be really cool is an accessibility-specific
utility along the lines of DumpRenderTree. It would dump out the accessible
tree for the platform specified. That way, before going with a
platform-specific solution to a problem, one could do a quick sanity check: If
it turns out all platforms have the problem, it would be good to solve it
across the board.

Anyhoo, review appreciated. Thanks!


More information about the webkit-reviews mailing list