W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] getElementsByIdPart

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 24 Aug 2004 09:48:40 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0408240948040.13400@dhalsim.dreamhost.com>
On Tue, 24 Aug 2004, Christopher Lenz wrote:
>
> It looks wrong to add that to the core Document/Element interfaces, as 
> there's no magic 'class' attribute in XML (AFAIK). Shouldn't this method 
> be added to HTMLDocument and HTMLElement instead?

There are classes in SVG, MathML, XUL, and XHTML, at least. So it should 
be on an interface common to those three.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 24 August 2004 02:48:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC