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

[whatwg] Allow omitting ="" for attributes?

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 14 Nov 2006 20:00:21 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0611141958081.28418@dhalsim.dreamhost.com>
On Tue, 14 Nov 2006, Simon Pieters wrote:
> 
> I was thinking about making omitted ="" for all attributes conforming. 
> I'm not sure it's a good idea, but might be worth considering.

It already is. <a b> equivalent to <a b="">. (Unless I made a mistake 
somewhere, which is quite possible.)


>   * Less obvious which attributes are boolean attributes and which are 
> not by looking at the source.

It's already pretty hard to tell anyway. (I haven't defined that part of 
the spec yet though.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 14 November 2006 12:00:21 UTC

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