Bug 20138
| Summary: | Safari doesn't trigger focus/blur events (on file inputs) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matthias Wessendorf <matzew> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | aroben, eric, jberlin, ostap73 |
| Priority: | P2 | ||
| Version: | 525.x (Safari 3.1) | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
Matthias Wessendorf
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).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Viatcheslav Ostapenko
Patch submitted here: https://bugs.webkit.org/show_bug.cgi?id=22261
Sam Sneddon [:gsnedders]
*** This bug has been marked as a duplicate of bug 22261 ***