Bug 12618

Summary: REGRESSION (SearchField): Dragging across the text and releasing over the clear button clears the field
Product: WebKit Reporter: mitz
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: adele
Priority: P1 Keywords: Regression
Version: 420+   
Hardware: Macintosh   
OS: OS X 10.4   
URL: data:text/html,%3Cinput%20type=%22search%22%20size=%2240%22%20value=%22Drag%20across%20the%20text%20and%20release%20over%20the%20x%20-%3E%22%3E
Attachments:
Description Flags
Make the cancel button capturing adele: review+

Description mitz 2007-02-05 12:25:56 PST
The search field's clear (x) button responds to a mouseup by clearing the field even if the mousedown was not inside the button. This is especially frustrating when dragging to select or scroll past the right edge of the visible text and then releasing the mouse over the close button.
Comment 1 mitz 2007-02-05 13:43:38 PST
Created attachment 12945 [details]
Make the cancel button capturing

Includes test and change log
Comment 2 Sam Weinig 2007-02-05 15:04:56 PST
Landed in r19411.