Modify ↓
Ticket #6954 (closed bug: duplicate)
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: | ||
| Blocking: | Blocked by: |
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
Change History
Changed 3 years ago by zacherates
-
attachment
empty-nightly.png
added
comment:1 Changed 3 years ago by zacherates
I've attached a screenshot of the behavior as well as an html page that reproduces the behavior.
comment:3 Changed 3 years ago by snover
- need changed from Review to Patch
- Priority set to undecided
I am able to reproduce this issue in IE7 only. IE8 works properly. Live test case
comment:4 Changed 3 years ago by snover
- Status changed from new to open
- Version changed from 1.4.2 to 1.4.3
- Blocked by 7128 added
- Milestone changed from 1.4.3 to 1.next
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Screenshot demonstrating the behavior