Side navigation
#6954 closed bug (duplicate)
Opened August 26, 2010 08:56PM UTC
Closed October 15, 2010 04:21AM UTC
Last modified March 10, 2012 03:42AM UTC
The selector a[href=""] selects anchors without href attributes in IE, but not Chrome/Firefox
Reported by: | zacherates | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.4 |
Component: | selector | Version: | 1.4.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The title says it all:
$("a[href='']) selects both <a href=""> and <a> nodes in IE, but not on FireFox or Chrome. I reproduced this with the nightly as of August 26th, 2010.
Attachments (2)
Change History (6)
Changed August 26, 2010 08:58PM UTC by comment:1
Changed August 29, 2010 02:02AM UTC by comment:2
component: | unfiled → selector |
---|
Changed September 23, 2010 06:22AM UTC by comment:3
need: | Review → Patch |
---|---|
priority: | → undecided |
I am able to reproduce this issue in IE7 only. IE8 works properly. Live test case
Changed October 15, 2010 04:11AM UTC by comment:4
blockedby: | → 7128 |
---|---|
milestone: | 1.4.3 → 1.next |
status: | new → open |
version: | 1.4.2 → 1.4.3 |
Changed October 15, 2010 04:21AM UTC by comment:5
blockedby: | 7128 |
---|---|
resolution: | → duplicate |
status: | open → closed |
I've attached a screenshot of the behavior as well as an html page that reproduces the behavior.