W3C home > Mailing lists > Public > www-style@w3.org > August 2003

E[foo*="bar"] selector

From: Matt <matt@hogwarts-library.net>
Date: Sun, 31 Aug 2003 22:45:31 +0100
Message-ID: <006b01c3700a$c7d254e0$a12994d9@hex>
To: <www-style@w3.org>

The E[foo="bar"] selector matches any element 'E' with 'foo' attribute
containing 'bar'. I understand this.

What if I have an element like this:
<a href="?alpha=200&amp;beta=300">blah</a>

Which of these selectors should match it?

a[href*="alpha=200&amp;beta=300"]
a[href*="alpha=200&beta=300"]

i.e. Does the CSS selector match the HTML entity, or its replaced character?

Matt
Received on Sunday, 31 August 2003 17:54:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:23 GMT