Bug 46758

Summary: shift-end moves to previous line rather than selecting current line
Product: WebKit Reporter: Peter Kasting <pkasting>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: jparent
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows Vista   

Peter Kasting
Reported 2010-09-28 15:24:45 PDT
Tested on Windows. Open a new compose window in gmail, and paste a long string with lots of spaces -- e.g. "foo foo foo foo foo " x 100 -- enough to get a couple lines of auto-wrapped text. Place your cursor at the beginning of the last line in the paragraph, then hit shift-end. The expected behavior is that the last line is selected. The actual behavior is that the cursor moves to the end of the previous line. I cannot reproduce this in the Mozilla Midas demo by pasting in the paragraph from gmail.
Attachments
Julie Parent
Comment 1 2010-09-30 13:45:21 PDT
Additional details: * Reproduces on text areas and contentEditable divs * When it fails, end works correctly, but shift-end does not * It only happens when the cursor is at the start of the line, any offset into the line works as expected * Doesn't reproduce on the first line, but reproduces on any other lines
Note You need to log in before you can comment on or make changes to this bug.