Bug 11535 - REGRESSION: onclick="this.select();" not working on new forms
Summary: REGRESSION: onclick="this.select();" not working on new forms
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Darin Adler
URL: data:text/html,%20<input%20type="text...
Keywords: HasReduction, InRadar, Regression
Depends on:
Blocks:
 
Reported: 2006-11-06 14:53 PST by Matt Lilek
Modified: 2007-02-05 15:51 PST (History)
0 users

See Also:


Attachments
patch, change log, layout test (7.48 KB, patch)
2007-02-05 15:40 PST, Darin Adler
sullivan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Lilek 2006-11-06 14:53:43 PST
When you load the url and click the text field "Foobar" should become selected, but doesn't.  Seems to be a problem with the new forms since shipping Safari and Omniweb (as well as Gecko-based browsers) both behave properly.

This isn't an issue with this.select() as it works perfectly on other event handlers (onfocus, onmouseover, etc), nor is it an issue with onclick as other javascript works fine.
Comment 1 Stephanie Lewis 2007-01-22 17:26:37 PST
radar
<rdar://problem/4946959> 
Comment 2 Darin Adler 2007-02-05 15:40:44 PST
Created attachment 12956 [details]
patch, change log, layout test
Comment 3 John Sullivan 2007-02-05 15:45:43 PST
Comment on attachment 12956 [details]
patch, change log, layout test

Looks good to me, and has nice layout test. r=me
Comment 4 Darin Adler 2007-02-05 15:51:27 PST
Committed revision 19416.