Bug 20138 - Safari doesn't trigger focus/blur events (on file inputs)
Summary: Safari doesn't trigger focus/blur events (on file inputs)
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2008-07-23 01:04 PDT by Matthias Wessendorf
Modified: 2010-04-26 16:26 PDT (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Wessendorf 2008-07-23 01:04:39 PDT
A simple test case:

<input type="file" id="test" onchange="alert('change');"
onfocus="alert('focus');" onblur="alert('blur');" name="itext" ></input>

shows, that only change is triggered here...

in FF (and even IE) focus/blur works as on *regular* inputs (type:text).
Comment 1 Viatcheslav Ostapenko 2009-09-28 09:27:49 PDT
Patch submitted here: https://bugs.webkit.org/show_bug.cgi?id=22261