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

>
>
> 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 UTC