W3C home > Mailing lists > Public > public-html@w3.org > March 2009

Re: Input on the agenda

From: Simon Pieters <simonp@opera.com>
Date: Wed, 18 Mar 2009 12:09:55 +0100
To: "Jonas Sicking" <jonas@sicking.cc>, "Robin Berjon" <robin@berjon.com>
Cc: "HTML WG" <public-html@w3.org>, "www-svg WG" <www-svg@w3.org>
Message-ID: <op.uqzimtdxidj3kv@hp-a0a83fcd39d2>
On Wed, 18 Mar 2009 11:21:01 +0100, Jonas Sicking <jonas@sicking.cc> wrote:

> Note that we wouldn't have to "break" style fully. We could still give  
> it the same treatment as <script>. That means that inline scripts with  
> <![CDATA[]]> would work fine.

...if they used //<![CDATA[ and //]]> (or /*<![CDATA[*/ and /*]]>*/)? Or do you want to make the JS engine and CSS parser aware of these strings (like <!--)? Or do you want the HTML parser to strip these strings inside CDATA elements?

Personally I think it would be ok to require authors to escape these strings in text/html, just like they have to do for XHTML as text/html today.

> As would any stylesheets with no entities.  
> One thing that would break is stylesheets without <![CDATA[]]> that use  
> the child selector ( > ).

(Only if it was escaped as &gt; which is not required in XML.)

Simon Pieters
Opera Software
Received on Wednesday, 18 March 2009 11:10:38 UTC

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