W3C home > Mailing lists > Public > public-html@w3.org > May 2007

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

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Sat, 05 May 2007 10:43:10 +0100
Message-ID: <463C51AE.1020609@googlemail.com>
To: Jonas Sicking <jonas@sicking.cc>
CC: Maciej Stachowiak <mjs@apple.com>, "John Foliot - WATS.ca" <foliot@wats.ca>, 'Lachlan Hunt' <lachlan.hunt@lachy.id.au>, www-html@w3.org, public-html@w3.org, tina@greytower.net, "'Patrick H.Lauke'" <redux@splintered.co.uk>, Philip-and-LeKhanh@Royal-Tunbridge-Wells.Org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:58 GMT