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

RE: [CSS21] colons are forbidden in type selectors

From: Robert Koberg <rob@koberg.com>
Date: Sun, 19 Oct 2003 16:27:20 -0700
Message-Id: <200310192329.h9JNTnb30009@server1.livestoryboard.com>
To: "'Ian Hickson'" <ian@hixie.ch>
Cc: <www-style@w3.org>

Hi,

> -----Original Message-----
> From: Ian Hickson [mailto:ian@hixie.ch]
> Sent: Sunday, October 19, 2003 4:21 PM
> To: Robert Koberg
> Cc: www-style@w3.org
> 
> On Sun, 19 Oct 2003, Robert Koberg wrote:
> > >
> > > 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?
> 
> Pretty much all usefully namespace-aware CSS+XML browsers support
> namespace selectors, so of the users that this is an issue for, about
> 100%. Of course, IE6 doesn't fall into that category, but if you are going
> to target IE, why would you use XML with namespaces?

I need to use namespaces in IE to make the XML show (and be styled by CSS to
get the same L&F they would get if it was transformed for general
consumption) and so that it can be edited according to an XML Schema.

-Rob
Received on Sunday, 19 October 2003 19:29:45 GMT

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