- From: Robert Koberg <rob@koberg.com>
- Date: Sun, 19 Oct 2003 15:49:41 -0700
- To: "'Ian Hickson'" <ian@hixie.ch>, <www-style@w3.org>
Hi,
> -----Original Message-----
> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf
> Of Ian Hickson
> Sent: Saturday, October 18, 2003 10:42 AM
> To: Elliotte Rusty Harold
> Cc: www-style@w3.org
>
>
> On Sat, 18 Oct 2003, Elliotte Rusty Harold wrote:
> >
> > This rules out the colon character which is widely used in XML names.
> > It is not possible given this to write a simple rule such as
> >
> > pre:name { font-weight: bold}
>
> In non-namespace-aware browsers, you would do:
>
> pre\:name { font-weight: bold; }
>
> However, this is very poor semantically, as it gives special meaning to
> the namespace prefix.
>
> Instead you should use CSS3 Selectors, that are supported by basically all
> the namespace-aware XML+CSS browsers:
What percentage of real users have these kind of browsers? When you say
'should' are you taking into account reality? (I realize this list is not
about that)
-Rob
p.s. I read your blog. What kind of browser do you think the naked girl you
found in your bed uses? :)
>
> @namespace foo url(http://example.net/pre);
> foo|name { font-weight: bold; }
>
> See: http://www.w3.org/TR/css3-selectors/#typenmsp
>
> Note that the ':' character in CSS has special meaning. The following:
>
> pre:name { font-weight: bold; }
>
> ...would mean "pre elements that match the pseudo-class :name should be
> bold".
>
> --
> Ian Hickson )\._.,--....,'``. fL
> U+1047E /, _.. \ _\ ;`._ ,.
> http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 19 October 2003 18:51:42 UTC