Modify ↓
Ticket #7408 (closed bug: duplicate)
Attribute selector in "is" not working in firefox
| Reported by: | mcm.ham@… | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 1.5 |
| Component: | attributes | Version: | 1.4.4rc |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Should be true in Firefox, works in other browsers and in Firefox for 1.4.2.
Change History
comment:2 Changed 3 years ago by mcm.ham@…
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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

The documentation for attribute-selectors says:
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