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

Re: Making it possible to use an <svg> root in text/html

From: Henri Sivonen <hsivonen@iki.fi>
Date: Wed, 4 Mar 2009 14:04:01 +0200
Cc: Cameron McCormack <cam@mcc.id.au>, Ian Hickson <ian@hixie.ch>
Message-Id: <D658F4F1-9DF5-4A13-9FEF-666D4C7C687F@iki.fi>
To: www-archive@w3.org
On Mar 4, 2009, at 13:58, Henri Sivonen wrote:

> Some notes about the implications of making it possible to use <svg>  
> as the root element in text/html.
> * The 'before html' insertion mode would get a new entry:
>   A start tag whose tag name is "svg"
>    Let the secondary insertion mode be "after body", and then switch  
> the insertion mode to "in foreign content".

Oops. That wouldn't work. The secondary mode needs to be "in body".  
Then popping the root <svg> would need to go to an "after svg" mode  
where random junk would trigger the root replacement trick that my  
previous email had for breaking out of foreign content when the root  
is foreign.

Henri Sivonen
Received on Wednesday, 4 March 2009 12:04:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:43:28 UTC