I'm using these functions to implement the text interface with ATSPI, but they don't behave the same way.
<rdar://problem/84412384>
Created attachment 441717 [details] Patch
Committed r284524 (243267@main): <https://commits.webkit.org/243267@main>