[D3E] Spec Bug: UIEvent.detail

In the latest editor's draft of the spec: http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-uievents

the UIEvent:detail IDL attributes is of type 'long'

Elsewhere in the spec, where the events are described in detail (e.g., DOMActivate, load, unload, etc.), the "Context info" section describes UIEvent.detail as being null in many cases (when that attribute is not in use).

However, because "detail" is a long, it should not be "null", rather it should be "0", which is the value currently reported by both Firefox and IE8 for this event type.

I recommend updating the spec in all instances where the Context info describes the "UIEvent.detail: null" be replaced with "UIEvent.detail: 0"

-Travis

Received on Wednesday, 26 May 2010 17:35:50 UTC