Bug 70967
| Summary: | [Mac] Context menu should come up without selecting when click is after the text | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Andrew Wilson <atwilson> |
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, darin, enrica |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | OS X 10.6 | ||
Andrew Wilson
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
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.