W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] HTMLDocument.title and SVGDocument

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 1 Jun 2007 22:21:04 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.0706012219160.23576@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 1 June 2007 15:21:04 UTC

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