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

Re: Issues arising from not reparsing

From: Simon Pieters <simonp@opera.com>
Date: Mon, 26 Oct 2009 11:22:42 +0200
To: "Olivier GENDRIN" <olivier.gendrin@gmail.com>, "Thomas Broyer" <t.broyer@ltgt.net>
Cc: "Ian Hickson" <ian@hixie.ch>, "Henri Sivonen" <hsivonen@iki.fi>, "HTMLWG WG" <public-html@w3.org>, "Daniel Glazman" <daniel@glazman.org>
Message-ID: <op.u2ekf4t2idj3kv@simon-pieterss-macbook.local>
On Mon, 26 Oct 2009 12:07:30 +0200, Olivier GENDRIN  
<olivier.gendrin@gmail.com> wrote:

> On Mon, Oct 26, 2009 at 10:01 AM, Thomas Broyer <t.broyer@ltgt.net>  
> wrote:
>> In <style><!--...--></style>, the <!-- and --> are part of the
>> stylesheet: http://www.w3.org/TR/CSS2/syndata.html#comments
>> I don't think HTML5 should change and go farther than parsing "style"
>> as RAWTEXT.
>
> Yes, I think that it's a demand made by Daniel Glazman as CSS WG
> co-chair in june 2007 [1] : let the CSS part of the UA handle the
> content of <style> (there may be a more explicit message, did not find
> it)
>
> [1] http://lists.w3.org/Archives/Public/public-html/2007Jun/0876.html

I think you're both missing the point. The strings <!-- and --> are still  
passed to the CSS parser.

What's being discussed is making validators whine about  
<style><!--...</style>, because that causes weird parsing in legacy  
browsers. (It could also be something like <style> *[foo="<!--"] { ... }  
</style> or <style> /* <!-- woot --!> */ </style>.)

-- 
Simon Pieters
Opera Software
Received on Monday, 26 October 2009 10:23:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:50 GMT