W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2006

[whatwg] Unsafe SGML minimizations

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 10 Mar 2006 23:49:02 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0603102347510.315@dhalsim.dreamhost.com>
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.
> 
>  * <>
>  * </>

Agreed.

>  * 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/

Agreed.

>  * 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.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 10 March 2006 15:49:02 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:45 UTC