[Webkit-unassigned] [Bug 7227] New: REGRESSION (1.2.2 - 1.3): onChange and onFocus events firing order differs for mouse click and tab
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Sun Feb 12 18:36:18 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=7227
Summary: REGRESSION (1.2.2 - 1.3): onChange and onFocus events
firing order differs for mouse click and tab
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.0
Status: NEW
Severity: normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: vicki at apple.com
This bug is also in Radar as <rdar://4315673>
We're having a regression problem with Safari 1.3. Somehow there is no
HTTP request when clicking from one control to the other.
As a result, our webserver received no event and cannot process
the request. This is NO a problem in Safari 1.2.2 (and IE).
For detail and steps to reproduce the problem, please see the
attached zip file 1348219000_norequestonfieldchange.zip.
We've informed Mark and Vicki on this, not sure if they have a chance to
look into it.
Thanks,
John
-------------------------------------------
<GMT25-Oct-2005 21:18:46GMT> John Wong:
Please assign to Developer ADCBugs for further communications with the
developer.
<GMT06-Jan-2006 21:58:05GMT> Vicki Murley:
Interesting. This works if I tab to the text field, but NOT if I click in it.
<GMT06-Feb-2006 17:50:19GMT> Mark Malone:
Safari fires onChange and onFocus events in a different order depending on how
the focus is changed.
Pressing the tab key to change the focus from fieldOne to fieldTwo and you get
the following:
onFocus in fieldOne
onBlur on fieldOne
onChange on fieldOne
onFocus in fieldTwo
With the focus on fieldOne, now use the mouse to click into fieldTwo and the
event order is different from above:
onFocus in fieldOne
onBlur on fieldOne
onFocus in fieldTwo
onChange on fieldOne
onChange should always fire before the focus is changed.
<GMT08-Feb-2006 21:37:14GMT> Vicki Murley:
I think I see what is happening here. Clicking causes us to
dispatchMouseEvent, which sets the focus.
<GMT12-Feb-2006 07:27:52GMT> Vicki Murley:
I'll send a patch out for this tomorrow.
--
Configure bugmail: http://bugzilla.opendarwin.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