W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2010

[D3E] Spec Bug: UIEvent.detail

From: Travis Leithead <travil@microsoft.com>
Date: Wed, 26 May 2010 17:35:14 +0000
To: "www-dom@w3.org" <www-dom@w3.org>, Doug Schepers <schepers@w3.org>
Message-ID: <9768D477C67135458BF978A45BCF9B380D76F3@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
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"

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:16 UTC