- From: Thomas Broyer <t.broyer@ltgt.net>
- Date: Mon, 26 Oct 2009 10:01:54 +0100
- To: Simon Pieters <simonp@opera.com>
- Cc: Ian Hickson <ian@hixie.ch>, Henri Sivonen <hsivonen@iki.fi>, HTMLWG WG <public-html@w3.org>
On Mon, Oct 26, 2009 at 8:08 AM, Simon Pieters <simonp@opera.com> wrote: > On Mon, 26 Oct 2009 01:59:49 +0200, Ian Hickson <ian@hixie.ch> wrote: > >>> It would be good to have similar (but less complex) content model >>> restrictions on the other (r)cdata elements in order to make >>> <style><!--</style> invalid because that causes weird parsing in legacy >>> browsers and is clearly an authoring mistake. >> >> What rule do you want? Just making "<!--" invalid? > > I think that would be annoying for people who have <style><!--...--></style> > today. I think I want the rule to be that elements not end with an open > escape. 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. (my very own opinion is that wrapping your CSS in <!--/--> is bad practice nowadays anyway) -- Thomas Broyer /tɔ.ma.bʁwa.je/
Received on Monday, 26 October 2009 09:02:29 UTC