Re: Empty attribute syntax and the DOM and CSS

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 UTC