Bug Tracker

Modify

Ticket #9802 (closed bug: wontfix)

Opened 23 months ago

Last modified 23 months ago

preventDefault and stopPropagation should return event

Reported by: cwolves@… Owned by:
Priority: low Milestone: None
Component: event Version: 1.6.2
Keywords: Cc:
Blocking: Blocked by:

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();

Change History

comment:1 Changed 23 months ago by rwaldron

  • Priority changed from undecided to low
  • Resolution set to wontfix
  • Status changed from new to closed
  • Component changed from unfiled to event

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.