W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2014

Re: [whatwg] Document.title for SVG documents

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 01 Feb 2014 21:28:48 -0800
Message-ID: <52EDD790.7080303@mcc.id.au>
To: whatwg@whatwg.org
On 1/02/2014 9:01 pm, Cameron McCormack wrote:
> Do you want to just handle that all in HTML?  I'm not sure there's much
> value to duplicating either the searching for the title element or the
> white space collapsing behaviour in SVG itself.

Oh, and for the setter, it looks like implementations don't do anything 
when assigning to document.title in SVG documents.  (Chrome does 
something funny where it remembers what you assign to document.title, 
but it doesn't affect what's in the <title> element.)

I don't have a strong opinion on whether we should make the setter do 
something useful or nothing at all.  If we do, any newly created <title> 
element should be appended to the document element.
Received on Sunday, 2 February 2014 05:29:22 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:15 UTC