RESOLVED INVALID 120213
Text nodes should also return text when asked for it
https://bugs.webkit.org/show_bug.cgi?id=120213
Summary Text nodes should also return text when asked for it
Roger Fong
Reported 2013-08-23 11:03:10 PDT
Nodes shouldn't have to be element nodes to return text. Just text nodes by themselves should be able to return text as well when queried for it. Without this, static text doesn't return text when asked via accessibility api.
Attachments
patch (1.05 KB, patch)
2013-08-23 11:12 PDT, Roger Fong
no flags
Radar WebKit Bug Importer
Comment 1 2013-08-23 11:03:25 PDT
Roger Fong
Comment 2 2013-08-23 11:12:54 PDT
chris fleizach
Comment 3 2013-08-23 11:13:55 PDT
Comment on attachment 209476 [details] patch We need a test case, but otherwise this looks right. Thanks
Roger Fong
Comment 4 2013-08-23 12:40:08 PDT
In my attempt to look for a proper way to create a test I found another method alongside text(), stringValue(), which does what I want I need and gets the underlying string value for the text node. I will use that in my AccessibleText implementation instead so as to not risk breaking any existing tests on other platforms. Moving changes for Windows stuff out of WebCore, always good.
Brent Fulgham
Comment 5 2013-10-30 10:23:57 PDT
Comment on attachment 209476 [details] patch Clearing flag to remove from review queue.
Note You need to log in before you can comment on or make changes to this bug.