Skip to main content

Bug Tracker

Side navigation

#13104 closed bug (notabug)

Opened December 21, 2012 04:01PM UTC

Closed December 21, 2012 04:22PM UTC

New click event on checkbox behavior doesn't make sense when using preventDefault()

Reported by: stephenkamenar@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9b1
Keywords: Cc:
Blocked by: Blocking:
Description

If you preventDefault() on click, it now says it's checked, even though it's not.

I vote to revert the behavior, if you want to know when it's changed, use the 'change' event!

http://jsbin.com/urisad/1/edit

Attachments (0)
Change History (2)

Changed December 21, 2012 04:04PM UTC by anonymous comment:1

Check the console.log in the jsfiddle.

Changed December 21, 2012 04:22PM UTC by dmethvin comment:2

resolution: → notabug
status: newclosed

Yes, we are now in sync with native event behavior, which is good. Please send complaints to the W3C. :)

http://jsbin.com/urisad/2/