[Webkit-unassigned] [Bug 92029] Radio buttons don't receive focus event
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 23 14:47:01 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=92029
Kyle Simpson <getify at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |getify at gmail.com
--- Comment #1 from Kyle Simpson <getify at gmail.com> 2012-07-23 14:47:07 PST ---
Just a few notes from a spec perspective, not to disclaim the validity of this bug:
Note that current spec can be a bit confusing on whether `focus` should be fired on the `input[type=radio]` element.
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#common-event-behaviors
Defines only 2 "common events" across the form types, and `focus` is not one of them.
http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#radio-button-state-%28type=radio%29
Defines some exception events that do NOT apply to the `input[type=radio]` button, but `focus` is not listed as being excluded.
http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#focus
And subsequent sections only talk about the `Focus` APIs on elements, and seem mum on the `focus` event itself.
But:
http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#handler-onfocus
Lists `focus` as one of the events that should be on all HTML elements, other than `body`. So, it would appear (unless I missed something else) that finding no exclusion in the other sections, `focus` should indeed be fired.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list