[whatwg] Scripting Tweaks

Olav Junker Kjær olav at olav.dk
Wed Apr 20 07:15:38 PDT 2005


Dean Edwards wrote:
> It would be handy to have the following DOM properties:
> 
> childElements
> firstChildElement
> lastChildElement
> previousElement
> nextElement
> parentElement
> 
> handy but definitely not required.

I think "childElements" corresponds to IE's "children" collection 
(except that "children" includes comments). I agree that this is useful.

"parentElement" would always be the same as "parentNode" though, won't it?

regards
Olav Junker Kjær



More information about the whatwg mailing list