Bug 26550

Summary: Implement input events for checkboxes and radio buttons
Product: WebKit Reporter: Erik Arvidsson <arv>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: shadow2531, tkent
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://www.whatwg.org/specs/web-apps/current-work/#the-input-element
Bug Depends on:    
Bug Blocks: 19264    
Attachments:
Description Flags
Test case none

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