Skip to main content

Bug Tracker

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)
  • empty-nightly.png (46.2 KB) - added by zacherates August 26, 2010 08:57PM UTC.

    Screenshot demonstrating the behavior

  • empty.html (0.6 KB) - added by zacherates August 26, 2010 09:03PM UTC.

    I forgot to take out an alert, doh!

Change History (6)

Changed August 26, 2010 08:58PM UTC by zacherates comment:1

I've attached a screenshot of the behavior as well as an html page that reproduces the behavior.

Changed August 29, 2010 02:02AM UTC by dmethvin comment:2

component: unfiledselector

Changed September 23, 2010 06:22AM UTC by snover comment:3

need: ReviewPatch
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 snover comment:4

blockedby: → 7128
milestone: 1.4.31.next
status: newopen
version: 1.4.21.4.3

Changed October 15, 2010 04:21AM UTC by snover comment:5

blockedby: 7128
resolution: → duplicate
status: openclosed

Changed October 15, 2010 04:21AM UTC by snover comment:6

Duplicate of #7128.