Closed Bug 898428 Opened 11 years ago Closed 11 years ago

MutationObservers cannot observe checkboxes checked status

Categories

(Core :: DOM: Core & HTML, defect)

25 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bradley.meck, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36 Steps to reproduce: Tried to watch when an <input type=checkbox> was checked via a UI interaction via MutationObserver. See: http://jsfiddle.net/6DHXs/1/ You must explicitly fire off the changes from JavaScript right now. Actual results: No MutationRecords were created. Expected results: Mutation records fire when the checkbox changes :checked state.
MutationObserver is for changes in DOM, not for various state changes. clicking checkbox doesn't change the attribute value.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.