W3C

Edit comment LC-1986 for Web Applications Working Group

Quick access to

Previous: LC-1987 Next: LC-1990

Comment LC-1986
:
Commenter: KUROSAWA, Takeshi <taken.spc@gmail.com>

or
Resolution status:

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
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 1986.html,v 1.1 2017/08/11 06:45:35 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org