E[foo*="bar"] selector

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 UTC