W3C home > Mailing lists > Public > www-style@w3.org > December 2009

Re: [css3-selectors] Selectors is a Proposed Recommendation

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Wed, 16 Dec 2009 09:52:45 +0100
Message-ID: <4B289FDD.9080809@disruptive-innovations.com>
To: Patrick Garies <pgaries@fastmail.us>
Cc: Alan Gresley <alan@css-class.com>, www-style@w3.org
Le 16/12/09 08:59, Patrick Garies a écrit :

> Given that these are edge cases (who uses |[attr$=""]| in real code?)

I saw a lot things like the following:

a[href$=".pdf"]:after {
   content: " (PDF document)";
}

And I used it myself in another context, storing page-related data
in a user-defined attribute and triggering styles based both on the
first 3 chars and the 3 last chars of the attribute value. Very handy.

</Daniel>
Received on Wednesday, 16 December 2009 08:53:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:47:12 GMT