ISSUE-41 (New Non-NS Event Methods): Should all event methods have namespaced and non-namespaced equivalents?

2008-07-23 Thread Web Applications Working Group Issue Tracker

ISSUE-41 (New Non-NS Event Methods): Should all event methods have namespaced 
and non-namespaced equivalents?

http://www.w3.org/2008/webapps/track/issues/41

Raised by: Doug Schepers
On product: 

From Olli Pettay in 
http://lists.w3.org/Archives/Public/public-webapps/2008JulSep/0260.html:

[[
IMO CustomEvent should have also initCustomEvent(), not only 
initCustomEventNS().
Having only initCustomEventNS doesn't prevent anyone to create events with null
namespace and it is just annoying if initCustomEvent isn't there.

Similar with MouseWheelEvent, it has only initMouseWheelEventNS, but should 
have also initMouseWheelEvent.


WheelEvent should also have non-NS initialization method.
]]






Not able to attend the call today...

2008-07-23 Thread Travis Leithead
Sorry I have a family commitment at this time today and won't be able to make 
it.



Re: ISSUE-42 (simpler custom events): Should we simplify custom events? [DOM3 Events]

2008-07-23 Thread Jonas Sicking


Cameron McCormack wrote:

XBL2 currently says:

  The action taken (retarget vs. stop) is specific to the event type. In
  general, UI events must be retargeted and mutation events must be
  stopped. Exceptions to the rule are noted below. The goal of this
  retargeting or stopping is to stop outer shadow scopes from being
  exposed to nodes from inner shadow scopes, and to stop outer shadow
  scopes from getting apparently meaningless events that only make sense
  in the context of inner shadow scopes.
   — http://www.w3.org/TR/xbl/#event2

A definitive list of which event types should be retargetted and which
should be stopped doesn’t seem to be given, though.  It’s unclear
whether a CustomEvent (or a plain Event) should be retargetted or
stopped.


I think this was a feature request to make it possible for the code 
firing the custom event to specify whether the event should be 
retargetted or stopped. The XBL spec can't specify all possible custom 
events of course, so it does make sense, however I would ask what the 
use case is.


/ Jonas