[whatwg] Unsafe SGML minimizations

Ian Hickson ian at hixie.ch
Fri Mar 10 15:49:02 PST 2006

On Thu, 8 Sep 2005, Henri Sivonen wrote:
> I think the text/html flavor of HTML5 should not allow the following SGML
> minimization features (which are theoretically allowed in HTML 4), because
> each of them causes problems in at least one of Opera, Firefox and Safari.
>  * <>
>  * </>


>  * tagc omission ie. <foo<bar>...</bar</foo>

HTML5 requires this at the moment. It wasn't clear what should happen in 
the cases given above if we don't allow TAGC ommission. Mozilla at least 
has plans to implement </bar</foo> anyway, and already does <foo<bar>.

>  * <foo/bar/


>  * attribute name omission (except for the well-known "boolean attributes")

Agreed, I still need to actually take this into account though.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list