Bug 27989 - AX: textUnderElement() should use a TextIterator instead of concatenating nodes
Summary: AX: textUnderElement() should use a TextIterator instead of concatenating nodes
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: chris fleizach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 10:49 PDT by chris fleizach
Modified: 2013-03-05 09:11 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chris fleizach 2009-08-04 10:49:53 PDT
Generally speaking it seems that the textUnderElement ought to contain the same
kind of whitespace-collapsing logic that the normal rendering code does. This
could be done by using the TextIterator instead of walking the nodes and
concatenating them all. Not sure what bug it will cause that this just appends
the DOM, but I suspect it will cause problems, especially when there are
Comment 1 chris fleizach 2009-08-04 10:57:07 PDT
elements with "display: none" or "visibility: hidden" involved.
Comment 2 chris fleizach 2013-03-05 09:11:04 PST
we decided against this because it would not allow us to include the alt text of an image when getting the textUnderElement