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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 28 Aug 2012 19:46:21 -0400
Message-ID: <503D584D.9030705@mit.edu>
To: Garrett Smith <dhtmlkitchen@gmail.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
On 8/28/12 5:57 PM, Garrett Smith wrote:
> Boris said what happens in two different cases. No declaration is
> removed.

Oh, a declaration is removed in one of those cases, all right.  Setting 
.style.foo to "" is equivalent to calling removeProperty().

-Boris
Received on Tuesday, 28 August 2012 23:46:50 GMT

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