Re: Empty attribute syntax and the DOM and CSS

Lachlan Hunt wrote:

> It is defined.  In the tokenisation section of the parsing algorithm, 
> the spec states this about creating a new attribute:
> 
> [...]
> 
> http://www.whatwg.org/specs/web-apps/current-work/#before
> 
> Since the value never gets changed from the empty string if there it 
> never reaches either of the attribute value states, the value remains as 
> the empty string.  Therefore, <input disabled> is identical in meaning 
> to <input disabled="">.  The implementations that treat those 
> differently are broken.

Thanks for the hint. So the only broken implementation seems to be the 
Trident one.

Received on Sunday, 22 June 2008 12:56:28 UTC