W3C home > Mailing lists > Public > www-style@w3.org > March 2009

Re: setting css property to empty string from script

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 06 Mar 2009 12:19:26 -0500
Message-ID: <49B15B1E.1010607@mit.edu>
To: Mike Wilson <mikewse@hotmail.com>, www-style list <www-style@w3.org>
Mike Wilson wrote:
> Is this behaviour specified by any standard, or is it just a
> convention implemented by UAs?

It looks like the latter. 
http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html is the 
relevant spec, and it doesn't actually specify this behavior.  On the 
other hand, it doesn't really specify _any_ behavior for setProperty, if 
one looks carefully....  ;)

-Boris
Received on Friday, 6 March 2009 17:20:19 GMT

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