W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2009

[whatwg] Toggling Attributes

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Sun, 22 Mar 2009 11:25:59 +0100
Message-ID: <4AA37B7D-B354-43D4-8C4B-9A140EC7D48C@crissov.de>
Ian Hickson (2009-02-13):
> There are three of these attributes so far:
>   autocomplete = on/off
>   contenteditable = true/false
>   draggable = true/false

It would be nice, actually, from an author perspective at least, if  
all of these worked for all applicable attributes:

   <foo bar>
   <foo bar=bar>
   <foo bar=on>
   <foo bar=true>
   <foo bar=1>*

   <foo bar="">*
   <foo bar=off>
   <foo bar=false>
   <foo bar=0>*

* I am not completely sure about the ones marked with an asterisk,  
because digits may not be necessary and the default or inherited  
state may be 'enabled'.
Received on Sunday, 22 March 2009 03:25:59 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:10 UTC