Skip to main content

Bug Tracker

Side navigation

#9802 closed bug (wontfix)

Opened July 11, 2011 09:41PM UTC

Closed July 11, 2011 09:44PM UTC

preventDefault and stopPropagation should return event

Reported by: cwolves@gmail.com Owned by:
Priority: low Milestone: None
Component: event Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

Not -exactly- a bug, but I think stopPropagation, preventDefault and stopImmediatePropagation should all return the event object to be inline with everything else in jQuery:

ev.stopPropagation().preventDefault();

Attachments (0)
Change History (1)

Changed July 11, 2011 09:44PM UTC by rwaldron comment:1

component: unfiledevent
priority: undecidedlow
resolution: → wontfix
status: newclosed

This change does not match the spec used to define how the jQuery.Event constructor creates even objects.

http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html