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

Re: setting css property to empty string from script

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Fri, 06 Mar 2009 18:55:54 +0100
Message-ID: <49B163AA.8050807@disruptive-innovations.com>
To: 'www-style' <www-style@w3.org>
Mike Wilson wrote:

> Is this behaviour specified by any standard, or is it just a
> convention implemented by UAs? (I don't find it but maybe I am
> not looking in the right places.)

The latter. It's the counterpart for  getPropertyValue's "Returns the
empty string if the property has not been set"and consorts.

Please note that the Web heavily relies on this behaviour. Call it
a 'de facto' standard :-)

Received on Friday, 6 March 2009 17:56:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:24 UTC