Bug 46758
Summary: | shift-end moves to previous line rather than selecting current line | ||
---|---|---|---|
Product: | WebKit | Reporter: | Peter Kasting <pkasting> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | jparent |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows Vista |
Peter Kasting
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Julie Parent
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