Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#7408 closed bug (duplicate)

Attribute selector in "is" not working in firefox

Reported by: [email protected] Owned by:
Priority: high Milestone: 1.5
Component: attributes Version: 1.4.4rc
Keywords: Cc:
Blocked by: Blocking:

Description

http://jsfiddle.net/Y3gW8/

Should be true in Firefox, works in other browsers and in Firefox for 1.4.2.

Change History (4)

comment:1 Changed 12 years ago by jitter

The documentation for attribute-selectors says:

Attribute values in selector expressions can be written as bare words and must be surrounded by quotation marks.

So if you do that and change your test accordingly to use quotation marks around the attribute value it works in all browsers.

test case

Last edited 12 years ago by jitter (previous) (diff)

comment:2 Changed 12 years ago by [email protected]

Thanks, that helps. I guess I've just got into the habit of not using quotes coming from working with css where it appears to be optional in the standard, and until now has worked fine in jquery.

http://www.w3.org/TR/CSS2/selector.html#attribute-selectors

This bug can probably be marked as invalid.

comment:3 Changed 12 years ago by Rick Waldron

Component: unfiledattributes
Priority: undecidedhigh
Resolution: duplicate
Status: newclosed

comment:4 Changed 12 years ago by Rick Waldron

Duplicate of #7295.

Note: See TracTickets for help on using tickets.