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.
<rdar://problem/14820810>
Created attachment 209476 [details] patch
Comment on attachment 209476 [details] patch We need a test case, but otherwise this looks right. Thanks
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.
Comment on attachment 209476 [details] patch Clearing flag to remove from review queue.