Status: Unconfirmed
Owner: [email protected]
Labels: OS-Linux Area-WebKit Size-Medium Type-Bug

New issue 20029 by [email protected]: WebKit cursor positioning on click  
in textarea inconsistent with Firefox and GTK+
http://code.google.com/p/chromium/issues/detail?id=20029

Chrome Version: 4.0.202.2-r23795
OS + version: Ubuntu Jaunty
CPU architecture: 64-bit
window manager: ion3
URLs (if applicable):  
http://www.w3schools.com/TAGS/tryit.asp?filename=tryhtml_textarea
Behavior in Firefox 3.x (if applicable): as expected
Behavior in Chrome for Windows (optional): unknown

What steps will reproduce the problem?
1. Delete all of the text in the textarea on the left side of the example  
URL.
2. Bang on the keyboard a bit until you have a half-line of text.  The  
cursor should be
positioned at the end of the typed text.
3. Now move the pointer down and to the left, so that its X position is in  
the middle
of the typed text and its Y position is below it.
4. Left-click.

What is the expected result?
The cursor should be at the closest possible position to the spot where I  
clicked (in
this case, it should stay at the end of the line), as is done in Firefox  
3.0 and gedit.

What happens instead?
The cursor jumps up to the middle of the typed text (directly above the  
pointer).

Please provide any additional information below. Attach a screenshot
and backtrace if possible.
This is possibly not Linux-only, although I don't know if the expected  
behavior is the
same on other platforms.  This is especially annoying when middle-clicking  
to try to
paste the PRIMARY selection at the end of the line -- the cursor gets moved  
in the same
way and the pasted text ends up in the middle of the line.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to