W3C home > Mailing lists > Public > public-html@w3.org > July 2009

Re: DOM tree accessors

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 13 Jul 2009 07:56:16 +0000 (UTC)
To: Joe D Williams <joedwil@earthlink.net>, Simon Pieters <simonp@opera.com>
Cc: HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0907130708120.23663@hixie.dreamhostps.com>
On Tue, 16 Jun 2009, Joe D Williams wrote:
>
> 3.2.4 DOM tree accessors
> ...
> document.embeds
> document.plugins
> "The embeds attribute must return an HTMLCollection rooted at the Document
> node, whose filter matches only embed elements."
> "The plugins attribute must return the same object as that returned by the
> embeds attribute."
> 
> This list of accessors should be expanded to include other similar reasonable
> named collections.
> Collections for  <object>, <iframe>, <video>, <audio>, and other active items
> are of similar interest and utility.

These collections are a holdover from a world without 
getElementsByTagName(). Today, I would recommend just using those.


On Tue, 16 Jun 2009, Joe D Williams wrote:
> 
> OK, let's move a selected DOM0 legacy subset like .embeds and .plugins 
> (along with <embed>) to 12:)

Well, they still work. No need to tell people off for using them.


-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 13 July 2009 07:56:55 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:48 UTC