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: Tue, 04 Feb 2014 12:02:34 +1100
Message-ID: <52F03C2A.7060806@mcc.id.au>
To: Jonas Sicking <jonas@sicking.cc>
Cc: WHAT Working Group <whatwg@whatwg.org>, Ian Hickson <ian@hixie.ch>
Jonas Sicking wrote:
> An even simpler solution would be to say "we choose the first
> <html:title>  or<svg:title>  in document order". That has the nice
> property that we align SVG and HTML more.

Although as Dirk pointed out, SVG distinguishes <title> elements that 
are children of the root element vs children of other elements.  The 
<title> that is a child of the root element gives the title of the 
entire element, while a <title> child of another element in the document 
describes only that element (like title="" does in HTML).
Received on Tuesday, 4 February 2014 01:03:08 UTC

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