W3C home > Mailing lists > Public > www-svg@w3.org > March 2009

Re: SVG <title> (was: SVG Feedback on HTML5 SVG Proposal)

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 11 Mar 2009 01:04:24 +0000 (UTC)
To: Doug Schepers <schepers@w3.org>
Cc: public-html@w3.org, www-svg <www-svg@w3.org>, "public-i18n-core@w3.org" <public-i18n-core@w3.org>
Message-ID: <Pine.LNX.4.62.0903110101420.2690@hixie.dreamhostps.com>
On Tue, 10 Mar 2009, Doug Schepers wrote:
> 
> The SVG equivalent of <span lang=""> is <tspan xml:lang="">.  We 
> considered making the content model of the <title> and <desc> elements 
> match that of the <svg:text> element, but also wish to allow X/HTML 
> content for document semantics like lists and such.  Up until this 
> point, the SVG+X/HTML story was unclear, but with browsers natively 
> implementing SVG, we now have an opportunity to sort this out.  (Do note 
> that there are SVG-only UAs, so any solution there would have to only 
> optionally use HTML.)  Any thoughts or comments along those lines?

One option would be to have SVG say what it does now, and to have the 
HTML5 spec explicitly say that the content model of <title> in SVG in 
text/html is limited to what HTML5 calls "phrasing content". This 
basically excludes what HTML4 calls "block-level elements", and includes 
things like <span> and <ruby>.

I don't really have an opinion on exactly what the right solution here is.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 11 March 2009 01:05:01 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:41 GMT