W3C home > Mailing lists > Public > public-html@w3.org > May 2008

Re: boolean attributes case-sensitivity (detailed review of Semantics)

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 9 May 2008 06:11:06 +0000 (UTC)
To: Simon Pieters <simonp@opera.com>
Cc: public-html <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0805090610520.23610@hixie.dreamhostps.com>

On Tue, 17 Jul 2007, Simon Pieters wrote:
> 
> (This is part of my detailed review of the Semantics and structure of 
> HTML documents section.)
> 
> The spec says about boolean attributes:
> 
>    If the attribute is present, its value must either be the empty string
>    or the attribute's canonical name, exactly, with no leading or trailing
>    whitespace, and in lowercase.
> 
> The value was case-insensitive in HTML4. Additionally, keywords in 
> enumerated attributes in HTML5 may use any mix of lower-case and 
> uppercase letters. I don't see a good reason why boolean attributes 
> should be different.

Ok, made them case-insensitive.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 9 May 2008 06:11:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:54 UTC