DOM-2 CSSPrimitiveValue

In Document Object Model (DOM) Level 2 Specification, Version 1.0, W3C Candidate Recommendation 07 March, 2000, under Section 5.2 CSS Fundamental Interfaces, under Interface CSSPrimitiveValue, 1st para appears:

"An instance of this interface can be obtained from the getPropertyCSSValue method of the CSSStyleDeclaration interface."

This is a bit misleading. The getPropertyCSSValue method return type is specified to be CSSValue, not CSSPrimitiveValue. I think you want to say here something like:

"An instance of this interface can be obtained by using binding-specific casting methods on the instance of the CSSValue interface returned from the getPropertyCSSValue method of the CSSStyleDeclaration interface."

Regards,
Glenn Adams
 

Received on Tuesday, 28 March 2000 14:34:07 UTC