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

Re: Empty attribute syntax and the DOM and CSS

From: Philip Taylor <pjt47@cam.ac.uk>
Date: Sun, 22 Jun 2008 14:18:09 +0100
Message-ID: <485E5111.3000006@cam.ac.uk>
To: schattenkirchner.daniel@gmx.de
CC: public-html@w3.org

Daniel Schattenkirchner wrote:
> 
> Lachlan Hunt wrote:
> 
>> <input disabled> is identical in meaning to <input disabled="">.

... and (per HTML5) <input disabled=""> means the DOM has an element 
with name "input", with an attribute with name "disabled" and value "".

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

Opera 9.2 is broken too, since <input disabled> and <input disabled=""> 
produce an attribute with name "DISABLED" and value "DISABLED".

-- 
Philip Taylor
pjt47@cam.ac.uk
Received on Sunday, 22 June 2008 13:18:51 GMT

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