Bug 70967 - [Mac] Context menu should come up without selecting when click is after the text
Summary: [Mac] Context menu should come up without selecting when click is after the text
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 13:56 PDT by Andrew Wilson
Modified: 2011-10-27 14:14 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Wilson 2011-10-26 13:56:37 PDT
Go to a site that displays a textarea (like http://www.w3schools.com/tags/showit.asp?filename=tryhtml_textarea)

In the text area, type something like:
a b c

Now, put the cursor at the end of the text, and right click in the body of the text area (after the last character in the text) and bring up a context menu, as if you're trying to paste some text at the end.

Expected:
The context menu should show up without changing the selection.

Actual:
The last word in the textarea is selected. It's not possible to paste via the context menu without clobbering the last word.

This happens in both Safari and Chrome on Mac 10.6.8. I do not see this in Chrome on other platforms.
Comment 1 Alexey Proskuryakov 2011-10-27 14:14:44 PDT
I'm not sure what exactly the behavior should be. TextEdit seems to be a bit inconsistent - you can paste via context menu at the end, but not always before a newline.