#7243 closed bug (fixed)
live is not working properly with attribute not equal selector in Firefox
Reported by: | anonymous | Owned by: | john |
---|---|---|---|
Priority: | blocker | Milestone: | 1.4.4 |
Component: | selector | Version: | 1.4.3 |
Keywords: | live focusout regression | Cc: | |
Blocked by: | Blocking: |
Description
Using live focusout do not fire any event on firefox mac 3.6, work on IE and webkit
Change History (14)
comment:1 Changed 12 years ago by
Keywords: | live focusout added |
---|---|
Owner: | set to anonymous |
Priority: | undecided → low |
Status: | new → pending |
comment:2 Changed 12 years ago by
Finally the problem comes from Sizzle I think,
http://www.jsfiddle.net/HngRv/1/
when .not(":checkbox") is added, the script do not work,
but $("[class*=validate]") will work.
comment:3 Changed 12 years ago by
Status: | pending → new |
---|
In fact,
Doing more tests, it seems this do nto work anywhere,
But this work everywhere beside firefox
$("[class*=validate][type!=checkbox]").live("focusout", function(){ alert(""); })
comment:4 Changed 12 years ago by
The url of that version: http://www.jsfiddle.net/HngRv/4/
Sorry for the spam....
comment:5 Changed 12 years ago by
Component: | unfiled → selector |
---|---|
Keywords: | regression added |
Milestone: | 1.5 → 1.4.4 |
Priority: | low → blocker |
Status: | new → open |
Summary: | live focusout is not working on input element on Firefox 3.6 → live is not working properly with attribute not equal selector in Firefox |
This has nothing to do with the event type and everything to do with live + attribute not-equals selector. revised test case This also happens in Firefox 4. All other browsers pass. This is a regression from 1.4.2.
comment:6 Changed 12 years ago by
attribute not-equals selector is also broken in http://bugs.jquery.com/ticket/7216
comment:8 Changed 12 years ago by
Firefox fails to throw an Error when matchesSelector
is passed an invalid selector string and instead just raises a warning (like what happens when you give it invalid CSS). This was already worked around with custom pseudo-selectors, but attribute not-equals is also not a valid CSS selector and so fails.
comment:9 Changed 12 years ago by
Owner: | changed from anonymous to snover |
---|---|
Status: | open → accepted |
comment:11 Changed 12 years ago by
Status: | accepted → new |
---|
comment:12 Changed 12 years ago by
Status: | new → assigned |
---|
comment:13 Changed 12 years ago by
Owner: | changed from snover to john |
---|
comment:14 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Adding another test for an issue in Gecko's matchesSelector implementation. Fixes #7243.
Changeset: 9be7461c3c7e85b1995766533db8806eb0909779
Can you please submit a valid testcase reproducing this issue (ideally on jsFiddle) so that we can evaluate the bug mentioned?