madkixt / base2

Automatically exported from code.google.com/p/base2
0 stars 0 forks source link

selector a[href="value"] doesn't match properly in IE #61

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It turns that in IE base2 uses computed attribute value.
When I try to match:

<a href="/test"></a>

with selector:

a[href="/test"]

It is matched properly under FF but under IE it is not.
I assume that in IE a.href property is used instead of
a.getAttribute("href") to get "href" attribute value.

Last version of base2 (Fri, 10 Aug 2007 20:00:50)
Windows XP

Original issue reported on code.google.com by marius...@gmail.com on 3 Sep 2007 at 9:53

GoogleCodeExporter commented 8 years ago
Good catch! Thanks!

Original comment by dean.edw...@gmail.com on 3 Sep 2007 at 6:28

GoogleCodeExporter commented 8 years ago

Original comment by dean.edw...@gmail.com on 14 Sep 2007 at 7:18

GoogleCodeExporter commented 8 years ago

Original comment by dean.edw...@gmail.com on 5 Dec 2007 at 4:47