Hi all.

While playing with CSS selectors, I've found some strange things (I'm
using the SVN version, rev 445):

* Attribute selector [EMAIL PROTECTED] doesn't work (returns any
element with a class name)
* Attribute selector [EMAIL PROTECTED]|=en] doesn't work (returns any element
with a hreflang attribute)

Has the support for these selectors been removed?

This is what I'm using for testing:

HTML:
<p class="pare-0">pare-0, <a hreflang="es" href="#">hreflang=es</a></p>
<p class="fill-0 pare-1">fill-0 pare-1 <a hreflang="en"
href="#">hreflang=en</a></p>
<p>No class, <a href="#">no hreflang</a></p>

jQuery:
$("[EMAIL PROTECTED]|=en]").length; // 2, should be 1
$("[EMAIL PROTECTED]|=es]").length; // 2, should be 1

$("[EMAIL PROTECTED]").length; // 2, shoul be 1

-- 
Choan
<http://choangalvez.nom.es/>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to