W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2005

[whatwg] [html5] STYLE and SCRIPT elements should not be closed at </

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 24 Jan 2005 02:48:28 -0500
Message-ID: <41F4A84C.5070807@inkedblade.net>
Anne van Kesteren wrote:
> Something for section 1.8.
> 
> The STYLE and SCRIPT elements should be closed at the first occurrence 
> of '</' according to section 6.2 of the HTML 4.01 specification. This is 
> not compatible with current implementations (Mozilla[2], Opera, IE, et 
> cetera) and especially not compatible with the internet.
> 
> I think we should overwrite this statement of HTML 4.01 in section 
> 1.8[3] of the web applications specification.

If I recall correctly (Ian can correct me if I'm wrong, I don't have the
reference handy), this is a result of SGML parsing rules. An HTML
specification cannot override this and still claim that HTML can be parsed
with a generic SGML parser.

~fantasai
Received on Sunday, 23 January 2005 23:48:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:21 UTC