comments about XHTML 2 Style Attr Module

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 UTC