Created attachment 117169 [details]
Steps to reproduce:
1. View the attached test case in WK1
2. Resize the window so that the text wraps
3. Enable caret browsing
4. Launch the attached test script in a terminal
5. Arrow Up and Down amongst the lines of text
Expected results: The test script would always print the correct text for the current line.
Actual results: The test script only presents the correct text for the current line for the paragraph; the list item text is off by a couple of characters.
I believe this is a regression.
Created attachment 117170 [details]
This bug depends on bug 72382, which fortunately has a patch pending on review at the time of this writing.
Created attachment 122749 [details]
Created attachment 123803 [details]
Updating the patch after the refactor done for fixing bug 76783
Comment on attachment 123803 [details]
Committed r107086: <http://trac.webkit.org/changeset/107086>