WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
27989
AX: textUnderElement() should use a TextIterator instead of concatenating nodes
https://bugs.webkit.org/show_bug.cgi?id=27989
Summary
AX: textUnderElement() should use a TextIterator instead of concatenating nodes
chris fleizach
Reported
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
Attachments
Add attachment
proposed patch, testcase, etc.
chris fleizach
Comment 1
2009-08-04 10:57:07 PDT
elements with "display: none" or "visibility: hidden" involved.
chris fleizach
Comment 2
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
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug