W3C home > Mailing lists > Public > public-webapi@w3.org > March 2008

[Element Traversal LC] Editorial: "attribute" at ECMAScript Language Binding

From: KUROSAWA, Takeshi <taken.spc@gmail.com>
Date: Wed, 12 Mar 2008 22:10:18 +0900
Message-ID: <646543300803120610h5ea4825ch5af11f56e4b27154@mail.gmail.com>
To: public-webapi@w3.org

Dear Web API WG,

Element Traversal Spec uses "attribute" word at ECMAScript Language Biding[1].

> firstElementChild
>    This read-only attribute is of type Element.

But it is prefered to use "property" rather than "attribute" in
ECMAScript world. Other DOM Specs use "property" at ECMAScript
Language Binding (ex. DOM Level 1[2], ...).
The biding should be something like below:

firstElementChild
    This read-only property is of type Element.
...
childElementCount
    This read-only property is of type Number.


Regards

1: http://www.w3.org/TR/2008/WD-ElementTraversal-20080303/#ecmascript-bindings
2: http://www.w3.org/TR/REC-DOM-Level-1/ecma-script-language-binding.html
-- 
KUROSAWA, Takeshi - http://taken.s101.xrea.com/
Received on Wednesday, 12 March 2008 13:10:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 12 March 2008 13:10:38 GMT