W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

another minor ambiguity in DOM Level 2 CSS spec

From: David Flanagan <david@oreilly.com>
Date: Thu, 16 Aug 2001 22:38:45 -0700
Message-Id: <200108170538.WAA07534@blackperl>
To: www-dom@w3c.org

CSSStyleDeclaration.setProperty() takes a priority argument which is
described as "the new priority of the property".  The problem is that it
does not specify what value should be passed for properties that have no
priority specification.

I'm guessing that an empty string is the intended value to indicate no
priority.  However, I'm not sure what the method should do if null is
passed.  If this is an illegal value, I guess it should throw a
SYNTAX_ERR exception.

Can someone clarify this, please?

    David Flanagan
Received on Friday, 17 August 2001 01:40:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:36:48 UTC