[whatwg] Allow omitting ="" for attributes?

Ian Hickson ian at hixie.ch
Tue Nov 14 12:00:21 PST 2006


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list