Skip to main content

Bug Tracker

Side navigation

#3954 closed bug (invalid)

Opened January 22, 2009 02:29PM UTC

Closed August 08, 2009 03:14AM UTC

Attribute selector in IE (at least)

Reported by: AlbertVanHalen Owned by:
Priority: major Milestone: 1.3.2
Component: unfiled Version: 1.3.1
Keywords: attributeEquals Cc:
Blocked by: Blocking:

Using [name='foo'] gives no results.

Using [name = 'foo'] gives correct results.

Attachments (1)
  • test.html (0.7 KB) - added by AlbertVanHalen January 23, 2009 08:49AM UTC.
Change History (4)

Changed January 22, 2009 04:11PM UTC by dz comment:1

Works for me at of 1.3.1:

Can you provide a different test case?

Changed January 23, 2009 08:31AM UTC by AlbertVanHalen comment:2

It happens when an invalid attribute is set in an element. IE name in a div.

<input name="foo" />

<div name="foo"><div>

[name='foo'] will have 1 element

[name = 'foo'] will have 2 elements

Tested in IE7 and IE8 Beta 2

Changed January 23, 2009 09:11AM UTC by AlbertVanHalen comment:3

Never mind.

There something weird here.

If I access the document (test.html) via the webserver it goes wrong.

If I access the local document (via file://) it goes OK.

Can I/you delete the ticket???

Changed August 08, 2009 03:14AM UTC by dmethvin comment:4

resolution: → invalid
status: newclosed