W3C home > Mailing lists > Public > www-style@w3.org > February 2004

[CSS21] response to issue 84

From: Bert Bos <bert@w3.org>
Date: Wed, 11 Feb 2004 21:39:20 +0100
Message-ID: <16426.37624.649974.828010@lanalana.inria.fr>
To: fantasai <fantasai@escape.com>
Cc: www-style@w3.org

This is the CSS WG's response to an issue you raised on the last CSS
2.1 draft (http://www.w3.org/TR/2003/WD-CSS21-20030915). We want to
publish CSS 2.1 as a CR in about two weeks. Please let us know this
week if you think our response is wrong.

Your e-mail:
    http://www.w3.org/mid/3F875337.6080406@escape.com
    Class Selectors
    S5.8.3 <http://www.w3.org/TR/2003/WD-CSS21-20030915/selector.html#class-html>:
    Also, you need to make clear that an XML namespace may choose as its
    class attribute an attribute with a name other than "class".
    # Note. CSS gives so much power to the "class" attribute, that authors
    # could conceivably design their own "document language" based on
    # elements with almost no associated presentation (such as DIV and
    # SPAN in HTML) and assigning style information through the "class"
    # attribute. Authors should avoid this practice since the structural
    # elements of a document language often have recognized and accepted
    # meanings and author-defined classes may not.
    You tell authors here what not to do with classes. One reads this
    warning, but then what? There's no advice on what *to* do! Tantek's
    post "A Touch of Class" [1] explains classes particularly well; adding
    a few key points from that would turn this block into a more useful
    redirect.
    [1] http://tantek.com/log/2002/12.html#L20021216t2238

CSS WG response:
    Not necessary in a spec. Better in a tutorial.



For the CSS WG,
Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos/                              W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Wednesday, 11 February 2004 15:40:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:26 GMT