Skip to main content

Bug Tracker

Side navigation

#6948 closed bug (duplicate)

Opened August 26, 2010 01:50AM UTC

Closed October 15, 2010 04:20AM UTC

Last modified October 15, 2010 04:20AM UTC

div[name='divName'] in IE7 does not select

Reported by: hasselback Owned by:
Priority: undecided Milestone: 1.4.3
Component: selector Version: 1.4.2
Keywords: div, name attribute Cc:
Blocked by: Blocking:
Description

Div elements in conjunction with selection by attribute name do not select.

Results for IE 7 only (tested in IE tester and IE8 compatibility mode)

Attachments (1)
  • jq_div_name.html (1.1 KB) - added by hasselback August 26, 2010 01:50AM UTC.

    Short HTML example of errors

Change History (3)

Changed October 02, 2010 02:42AM UTC by addyosmani comment:1

need: ReviewPatch
priority: → undecided

Confirmed IE7 behaviour submitted is a bug. Additional testing in IE8 and IE9 shows the bug appears to be limited to 7.0.

The test case works fine in FireFox 3.6.10 and Chrome 6.04.

Changed October 15, 2010 04:20AM UTC by snover comment:2

resolution: → duplicate
status: newclosed

live test case

name is not a valid attribute on <div> elements, so unreliable behaviour can be expected. Don’t do this!

Changed October 15, 2010 04:20AM UTC by snover comment:3

Duplicate of #7128.