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 22:04:29 -0800
Message-ID: <52EDDFED.3000307@mcc.id.au>
To: Dirk Schulze <dschulze@adobe.com>
Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>
On 1/02/2014 10:01 pm, Dirk Schulze wrote:
> Could you be more specific about that? It is not just the first title
> element in the document, but the first direct child of the element
> root.

That is what the spec says but that is not what implementations do.

> A title nested in a group or graphical element has a different
> meaning and shall not be used as title. If there is a nested title
> element but no direct title child of the SVG root, then the document
> has no title. This distinction is important for accessibility.

Sure.  I'd be happy with keeping the special SVG behaviour here too. 
Ian, if you still would prefer a hook in the SVG spec for you to refer 
to, rather than including this behaviour -- first <title> child of the 
document element -- then I can define for example "SVG title element" 
that represents that element.
Received on Sunday, 2 February 2014 06:05:03 UTC

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