Re: Getting beyond the ping pong match (was RE: Cleaning House)

Jonas Sicking asked:

> The only problem is, can you write CSS selectors that match the class 
> ':example'?

Yes, but it's not pretty:

..html\:example

At least that's how I read:

http://www.w3.org/TR/CSS21/syndata.html#escaped-characters

http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier

As role is just an attribute, it's a bit easier:

[role~="html:example"]

--
Benjamin Hawkes-Lewis

Received on Saturday, 5 May 2007 13:46:41 UTC