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

Re: New DOM Level 2 Working Draft

From: Philippe Le Hegaret <plh@w3.org>
Date: Sat, 25 Sep 1999 11:19:15 +0200
Message-ID: <37EC9393.E35383FB@w3.org>
To: "L. David Baron" <dbaron@fas.harvard.edu>
CC: www-dom@w3.org
L. David Baron wrote:
> --------
> CSSStyleDeclaration::cssText shouldn't have "{" and "}" since it is used for
> HTMLElement::style.  Thus "including" should be changed to "excluding" in
> [1].

  For the moment, the HTML and the CSS specification don't have any statement
about the correct syntax of style attributes.
  This issue should be discussed by the CSS WG :

> There are messy issues with the border-color property.  See
> http://lists.w3.org/Archives/Public/www-style/1999Sep/0082.html
> http://lists.w3.org/Archives/Public/www-style/1999Sep/0085.html

  The border-color gets his value from the color property when the border
property doesn't contain a color, but the value of the color is the
_specified_ value of the color property and not the value in the style sheet.
Since we don't compute the inheritance in the CSS OM (except for the computed
style delcaration), the border color should be empty.

> I think the following statement in [2] is unnecessary because the special
> system font shorthand values *can* be decomposed (and must, since some of the
> equivalent longhand properties can be changed, leaving others intact).

  Unfortunately, this is not true, see the font shorthand property definition
in CSS2 :

[ [ <'font-style'> || <'font-variant'> || <'font-weight'> ]? <'font-size'> 
 [ / <'line-height'> ]? <'font-family'> ] 
 | caption | icon | menu | message-box | small-caption | status-bar | inherit 

  caption, icon, menu, message-box, small-caption and status-bar are not
supported by the longhand properties.

Received on Saturday, 25 September 1999 05:19:24 UTC

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