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

[whatwg] Document.title for SVG documents

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 01 Feb 2014 21:01:14 -0800
Message-ID: <52EDD11A.5030606@mcc.id.au>
To: whatwg@whatwg.org
Currently, HTML defines Document.title on SVG documents to defer to 
whatever the SVG specification defines for SVGDocument.title.  The 
SVGDocument interface has gone away, so this will need to be updated. 
 From some basic testing, it looks like SVG needs the same behaviour as 
HTML -- first <title> element in the document, plus the white space 
collapsing behaviour.

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.
Received on Sunday, 2 February 2014 05:01:49 UTC

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