[whatwg] getElementsByIdPart

Ian Hickson ian at hixie.ch
Tue Aug 24 02:48:40 PDT 2004


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list