W3C home > Mailing lists > Public > www-style@w3.org > January 2003

Re: css, namespaces and default properties

From: (wrong string) äper <christoph.paeper@tu-clausthal.de>
Date: Tue, 21 Jan 2003 03:50:10 +0100
Message-ID: <098b01c2c0f7$d07663b0$3ef4ae8b@heim4.tuclausthal.de>
To: <www-style@w3.org>

Claus Wahlers:
>
> <ns1:element
>     class="main"
>     xmlns:ns1="http://namespace/1"
>     xmlns:ns2="http://namespace/2">
>
> element.main { color-rendering: optimizeSpeed; }

I don't know the answer to your question, but you should use attribute
selectors here:

  element[class~"name"] {...},

because the dot notation for classes is only intended for HTML. See REC-CSS2
5.8.3.

Christoph Päper
Received on Monday, 20 January 2003 21:50:10 GMT

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