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

Re: what is the CSSValue.CSS_CUSTOM type for?

From: Philippe Le Hegaret <plh@w3.org>
Date: Tue, 21 Aug 2001 17:08:11 -0400
Message-ID: <3B82CDBB.49728A98@w3.org>
To: David Flanagan <david@oreilly.com>
Cc: www-dom@w3.org
David Flanagan wrote:
> The CSSValue interface defines a constants CSS_CUSTOM, which the spec
> describes as "The value is a custom value".  Unfortunately, I can't any
> mention of "custom values" in the index of the DOM CSS spec, or of the
> CSS2 spec itself.

This is an extension mechanism for the CSS OM. If a CSS OM extension wants
to provide its own methods for a CssValue, the type of the CssValue is

> Can someone tell me what this means and give an example of when it might
> be used?  If I have a CSSValue object that represents a custom value,
> can I do anything with it other than query its cssText property?

You'll find an example in the SVG spec, section B.6.4:

Received on Tuesday, 21 August 2001 17:08:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC