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

Re: Empty attribute syntax and the DOM and CSS

From: Daniel Schattenkirchner <schattenkirchner.daniel@gmx.de>
Date: Sun, 22 Jun 2008 14:55:58 +0200
Message-ID: <485E4BDE.9010403@gmx.de>
To: public-html@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:18 GMT