Re: Issues arising from not reparsing

On Mon, Oct 26, 2009 at 8:08 AM, Simon Pieters <> wrote:
> On Mon, 26 Oct 2009 01:59:49 +0200, Ian Hickson <> 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
I don't think HTML5 should change and go farther than parsing "style"
(my very own opinion is that wrapping your CSS in <!--/--> is bad
practice nowadays anyway)

Thomas Broyer

Received on Monday, 26 October 2009 09:02:29 UTC