W3C home > Mailing lists > Public > www-html@w3.org > May 2003

comments about XHTML 2 Style Attr Module

From: Daniel Glazman <glazman@netscape.com>
Date: Fri, 09 May 2003 14:04:23 +0200
Message-ID: <3EBB9947.7030101@netscape.com>
To: "www-html@w3.org" <www-html@w3.org>
CC: www-html-editor@w3.org

Excerpt from [1] :

    The syntax of the value of the style attribute is determined by the default
    style sheet language. For example, for [CSS2] inline style, use the
    declaration block syntax described in the Style Sheet Module (without curly
    brace delimiters).

These two sentences seem to be contradictory. The first one says the style
sheet language fully controls the format of the contents of a style attribute.
The second one says precisely what the format of the style attribute is in
case of CSS.

Furthermore, the CSS WG has a draft about this [2].

My conclusion is that the second quoted sentence above should be totally
stripped from XHTML2.0.

Last point, and we had this discussion dozen of times but I am still waiting
for a good answer, what's __really__ the point making this attribute able to
carry styles from multiple languages when the *ONLY* style language implemented
in web browsers is CSS ? Rename the attribute css:style if you want (I proposed
that sooo many years ago) and *please*, let's drop that useless mention about
the default style sheet language of the document.

[1] http://www.w3.org/TR/2003/WD-xhtml2-20030506/mod-styleAttribute.html
[2] http://www.w3.org/TR/css-style-attr

</Daniel>
--
"First they ignore you, then they laugh at you, then they fight you,
  then you win..." - Mahatma  Gandhi
Received on Friday, 9 May 2003 08:03:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:55 GMT