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

[whatwg] how to handle minimised attributes in HTML5

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 27 Apr 2005 10:09:48 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0504271008220.9723@dhalsim.dreamhost.com>
On Tue, 26 Apr 2005, Henri Sivonen wrote:
> 
> What do you suggest the parser layer of an text/html conformance checker 
> say about <input checkbox ...>?
> 
> 1. Silently treat as <input type="checkbox" ...>?
> 2. Treat as <input type="checkbox" ...> but warn?
> 3. Treat as <input checkbox="checkbox" ...> causing an error to be reported on
> a higher layer?
> 4. Treat as fatal error in the parser?

5. Treat as <input checkbox="">

The only exception, I believe, would be for <table border>, which would 
instead be treated as <table border="1">.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 27 April 2005 03:09:48 UTC

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