Bug 27989
| Summary: | AX: textUnderElement() should use a TextIterator instead of concatenating nodes | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | chris fleizach <cfleizach> |
| Component: | Accessibility | Assignee: | chris fleizach <cfleizach> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
chris fleizach
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
elements with "display: none" or "visibility: hidden" involved.
chris fleizach
we decided against this because it would not allow us to include the alt text of an image when getting the textUnderElement