Bug 26550 - Implement input events for checkboxes and radio buttons
Summary: Implement input events for checkboxes and radio buttons
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://www.whatwg.org/specs/web-apps/...
Keywords:
Depends on:
Blocks: HTML5Forms
  Show dependency treegraph
 
Reported: 2009-06-19 11:09 PDT by Erik Arvidsson
Modified: 2010-10-21 11:55 PDT (History)
2 users (show)

See Also:


Attachments
Test case (417 bytes, text/html)
2009-06-19 11:13 PDT, Erik Arvidsson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Arvidsson 2009-06-19 11:09:07 PDT
HTML5 states that both input[type='checkbox'] and input[type='radio'] should have oninput and fire the input event anytime the user changes the value (should be any time the user changes the checked state).
Comment 1 Erik Arvidsson 2009-06-19 11:13:09 PDT
Created attachment 31550 [details]
Test case

Clicking the checkbox should generate:

checkbox - true|false

Clicking on the radio buttons should generate:

radio-1 - true
radio-2 - false

with alternating true and false.
Comment 2 Erik Arvidsson 2010-10-21 11:55:34 PDT
Looking at the spec [*] again I see that input should not be dispatched by radio buttons and check boxes.

The table in "4.10.7 The input element", http://dev.w3.org/html5/spec/Overview.html#the-input-element