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

fantasai fantasai.lists at inkedblade.net
Sun Jan 23 23:48:28 PST 2005


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



More information about the whatwg mailing list