W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Re: DOM-2 CSS2FontFaceSrc, CSS2FontFaceWidths, CSS2TextShadow

From: Philippe Le Hegaret <plh@w3.org>
Date: Thu, 30 Mar 2000 17:33:11 +0000
Message-ID: <38E38FD7.6FD49CB@w3.org>
To: Glenn Adams <gadams@vgi.com>
CC: www-dom@w3.org
Glenn Adams wrote:
> "The following table specifies the type of CSSValue used to represent each
> descriptor that can be specified in a CSSStyleDeclaration found in a
> CSSFontFaceRule for a CSS Level 2 style sheet."
> In this table, the entries for "src", and "width" specify "list of
> CSS2FontFaceSrc" and "list of CSS2FontFaceWidths", respectively. However,
> neither CSS2FontFaceSrc nor CSS2FontFaceWidths are derived from CSSValue (and
> thus are not candidates for valueType CSS_CUSTOM), nor are they covered by a
> CSSPrimitiveValue.
> My question then is how are CSS2FontFaceSrce or CSS2FontFaceWidths to be
> interpreted as a "type of CSSValue"?
> A similar question holds for CSS2TextShadow which also does not derive from
> CSSValue yet is shown in the larger table at the beginning of section 5.3 as
> being used in a "list of CSSTextShadow" for the "text-shadow" property.

Good catch! I think we were confused with the list and the fact that you can't
obtain an instance of these interfaces from getPropertyCSSValue. Of course,
it's a list of CSSValue.

Received on Thursday, 30 March 2000 12:33:13 UTC

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