[Webkit-unassigned] [Bug 144980] New: Option-right-arrow or Option-left-arrow at the last or first word of a line jumps caret one too many words

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 13 18:35:27 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=144980

            Bug ID: 144980
           Summary: Option-right-arrow or Option-left-arrow at the last or
                    first word of a line jumps caret one too many words
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Macintosh
                OS: Mac OS X 10.10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: harada at apple.com

Created attachment 253079
  --> https://bugs.webkit.org/attachment.cgi?id=253079&action=review
wrapping text in a div

With caret browsing enabled, pressing Option-right arrow at the beginning of the last word in a line that wraps to the next line causes the caret to jump to the end of the first word on the next line, as opposed to the end of the last word on the starting line. The mirror behavior is observed when pressing Option-left arrow at the end of the first word on a line that is wrapping from the previous line.

When Shift key is held down while pressing Option-right arrow or Option-left arrow to create a selection, it behaves correctly.

* STEPS TO REPRODUCE
1. Enable caret browsing and open the attached HTML file.
2. Move the caret to the beginning of the word “long” on the first line.
3. Press Option-right arrow.

* RESULTS
Actual: Caret jumps to the end of the word “sentence” on the following line.
Expected: Caret jumps to the end of the word “long” on the starting line.


-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150514/e0740ce5/attachment.html>


More information about the webkit-unassigned mailing list