Re: [XBL2] state="" attribute

On Mon, 14 Aug 2006 16:10:04 -0700, Ian Hickson <ian@hixie.ch> wrote:
>> What's the use case for this attribute given that there's a class=""
>> attribute already which allows basically the same.
>
> It's easier to set a separate attribute than it is to edit the class
> attribute.

I thought this would be the answer and I tend to disagree. If it's hard to  
edit the class attribute we should just make that easier by having  
.className.add("foo") etc.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Monday, 14 August 2006 23:13:41 UTC