[whatwg] HTMLDocument.title and SVGDocument

Ian Hickson ian at hixie.ch
Fri Jun 1 15:21:04 PDT 2007


On Sat, 10 Feb 2007, Anne van Kesteren wrote:
>
> If HTMLDocument really is going to apply to every Document object... 
> then at least HTMLDocument.title needs to somehow not clash with 
> SVGDocument.title or do both or something.

I basically see two options: HTMLDocument.title always wins, and you can 
get the other one using getFeature(), or, they both get redefined to check 
the root element and dispatch to the other one if appropriate. 
Suggestions?

-- 
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