W3C home > Mailing lists > Public > public-html@w3.org > December 2008

Re: Speculative tokenization and foreign content

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 25 Dec 2008 11:15:18 +0000 (UTC)
To: Simon Pieters <simonp@opera.com>
Cc: Henri Sivonen <hsivonen@iki.fi>, HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0812251113310.24109@hixie.dreamhostps.com>

On Thu, 11 Dec 2008, Simon Pieters wrote:
> In http://lists.w3.org/Archives/Public/public-html/2007Oct/0161.html I 
> speculated (no pun intended) about having the above-mentioned elements 
> keep their (R)CDATAness even in foreign content, and not supporting 
> <![CDATA[ at all. However, I guess the self-closing flag would still be 
> a problem (<svg> ... <style/> ...)? Perhaps the self-closing flag 
> shouldn't work on (R)CDATA elements in foreign content?
> Going with this makes SVG less copy-pastable into HTML, which is not 
> good. OTOH, when it would break, it means authors have to fix it up, and 
> then it would break less in legacy UAs (e.g. replace <script .../> with 
> <script ...></script>).

I'd be fine with doing this, but I assume that this would be far too far 
from the SVGWG's goals for it to be acceptable to them. (After all, they 
haven't agreed even with the current commented-out proposal.)

> Going with this also means that <textArea> in SVG can't contain elements 
> declaratively, which is not good.

Well it's not clear <textArea> is a particularly good feature anyway. :-)

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 25 December 2008 11:15:54 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:40 UTC