[Webkit-unassigned] [Bug 12593] New: REGRESSION: Reversed drag-select behavior in text boxes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 4 11:02:43 PST 2007


           Summary: REGRESSION: Reversed drag-select behavior in text boxes
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mjs at apple.com

2006-08-21 17:15:41 Ast Moore:
Safari shows reversed drag-select behavior in text boxes: bottom left, top
right. See screen capture. Text selection in Google's search filed is reversed.
Text selection in the address bar is working correctly.
(see attached screen capture)

'Safari Drag-Select Bug.mov' was successfully uploaded

2006-08-21 17:15:41 Ast Moore:
Please assign to Developer ADCBugs for further communications with the

2006-08-22 19:09:41 Stephanie Lewis:
This worked in Safari 2.0.4 and is broken in Leopard 9A427

2006-08-29 10:32:32 Alice Liu:
Safari BRB Reviewed 

2006-12-15 19:32:22 Stephanie Lewis:
Still occurs in Leopard 9A325

2006-12-18 11:12:05 Adele Peterson:
This happens because when you drag to the top right, that position is actually
before the text field in the DOM, so the selection code selects all content in
the text field before the caret.  In the bottom-left case, that mouse position
is after the text field in the DOM.  So the selection code behaves as if it
were going to select all of the content in between the caret and the new mouse
position-- but it stops short at the text field boundary.

I'm not sure what the right fix is for this.  Maybe adjustForEditableContent
would need to be more aware of this case.


Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list