W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: [CSSOM] Behavior of setting .style.foo to null

From: Shane Stephens <shans@google.com>
Date: Wed, 29 Aug 2012 15:34:44 +1000
Message-ID: <CAGTfzwRr=g8uuq3htUSfF4GHrY9bRwQb9s=iEeg7CSRBOSa3vA@mail.gmail.com>
To: Garrett Smith <dhtmlkitchen@gmail.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
>
>
> That method is useless and not worth remembering. Good thing
> removeProperty method does not actually remove a property, either,
> because otherwise, you'd end up with typeof style.color ==
> "undefined".
>

Right, but we're talking about removing a declaration, not a property.
Seems like removeProperty is just incorrectly named.

Cheers,
    -Shane


> --
> Garrett
> Twitter: @xkit
> personx.tumblr.com
>
>
Received on Wednesday, 29 August 2012 05:35:16 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:59 GMT