- From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
- Date: Sat, 05 May 2007 10:43:10 +0100
- 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:47:07 UTC