Re: [WebIDL] troublesome names, property attributes and related issues

On Thu, Aug 25, 2011 at 4:37 PM, Allen Wirfs-Brock
<allen@wirfs-brock.com> wrote:
> 4.5.4 Constants
> This section says that constants must be defined as properties on both the
> interface prototype object and the interface object.  Browsers don't
> currently seem to do this.  Try document.ELEMENT_NODE and
> Document.ELEMENT_NODE

Both return 1 in Gecko. Haven't checked other browsers though.

/ Jonas

Received on Friday, 26 August 2011 04:41:24 UTC