RESOLVED FIXED 7094
onfocus/onblur on non-form-controls bubble
https://bugs.webkit.org/show_bug.cgi?id=7094
Summary onfocus/onblur on non-form-controls bubble
Maciej Stachowiak
Reported 2006-02-05 19:17:12 PST
onfocus and onblur on non-form-control elements (such as an editable <div>) are inappropriately connected to DOMFocusIn and DOMFocusOut events, which bubble, instead of focus and blur which do not. This does not match other browsers. The HTML4 spec is silent on this, it claims onfocus can only be applied to form controls.
Attachments
focus fix (5.07 KB, patch)
2006-02-05 19:42 PST, Maciej Stachowiak
darin: review+
Maciej Stachowiak
Comment 1 2006-02-05 19:42:57 PST
Created attachment 6276 [details] focus fix
Darin Adler
Comment 2 2006-02-05 20:49:47 PST
Comment on attachment 6276 [details] focus fix Test case lacks a </div> after the first sentence. Does SVGElementImpl::parseMappedAttribute have the same issue? r=me
Eric Seidel (no email)
Comment 3 2006-02-05 22:05:49 PST
Note You need to log in before you can comment on or make changes to this bug.