Bug Tracker

Modify

Ticket #6954 (closed bug: duplicate)

Opened 3 years ago

Last modified 15 months ago

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

empty-nightly.png Download (46.2 KB) - added by zacherates 3 years ago.
Screenshot demonstrating the behavior
empty.html Download (582 bytes) - added by zacherates 3 years ago.
I forgot to take out an alert, doh!

Change History

Changed 3 years ago by zacherates

Screenshot demonstrating the behavior

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.

Changed 3 years ago by zacherates

I forgot to take out an alert, doh!

comment:2 Changed 3 years ago by dmethvin

  • Component changed from unfiled to selector

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

comment:5 Changed 3 years ago by snover

  • Status changed from open to closed
  • Resolution set to duplicate
  • Blocked by 7128 removed

comment:6 Changed 3 years ago by snover

Duplicate of #7128.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.