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.

Received on Wednesday, 16 December 2009 08:53:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:41 UTC