#8468 closed bug (wontfix)
Find by multiple selector return different value in Opera
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | low | Milestone: | 1.7 |
Component: | selector | Version: | 1.5.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
Requirements in html:
- element input with class 'vdata' doesn't exists in html
- element select with class 'vdata' exists in html
Query: jQuery(this).find("input.vdata,select.vdata :selected").val();
query return 'undefined' in Opera in IE 8, Chrome 9.0.597.107 and Firefox 3.6.13 return selected value in element 'select'
Change History (26)
comment:1 Changed 12 years ago by
Owner: | set to anonymous |
---|---|
Status: | new → pending |
comment:3 Changed 12 years ago by
Status: | new → open |
---|
Confirmed in Opera 11.01 on Windows; I simplified the test case a bit and tried a few permutations:
comment:4 Changed 12 years ago by
Component: | unfiled → selector |
---|---|
Milestone: | 1.next → 1.6 |
Priority: | undecided → high |
comment:6 Changed 12 years ago by
Keywords: | browser-opera added |
---|
comment:7 Changed 12 years ago by
Status: | open → pending |
---|
I think this may have been fixed in Opera 11.1. Can you confirm?
comment:8 Changed 12 years ago by
Status: | pending → open |
---|
Confirmed http://jsfiddle.net/timmywil/PKCG7/4/
comment:9 Changed 12 years ago by
Milestone: | 1.6 → 1.next |
---|
comment:10 Changed 12 years ago by
Why is this not higher priority? Having simple selectors fail seems like a blocker.
comment:12 Changed 12 years ago by
Priority: | high → blocker |
---|
comment:13 Changed 12 years ago by
Keywords: | 1.7-discuss added |
---|
Nominating ticket for 1.7 discussion.
comment:14 Changed 12 years ago by
Description: | modified (diff) |
---|
+1, Seems like a bug, should be fixed
comment:17 Changed 12 years ago by
Description: | modified (diff) |
---|
This seems to be an issue in Opera itself... It isn't throwing an exception for Unknown psuedo class when the non-standard :selected
is on the right side of the comma...
comment:18 follow-up: 20 Changed 12 years ago by
-1, As discussed in the Monday meeting, this is an Opera bug so I think we should close it wontfix and let the Operatics do their thing.
comment:19 Changed 12 years ago by
Description: | modified (diff) |
---|
+0, I fear what's actually happening here. Opera's querySelectorAll is really bad.
comment:20 Changed 12 years ago by
Description: | modified (diff) |
---|
Replying to dmethvin:
-1, As discussed in the Monday meeting, this is an Opera bug so I think we should close it wontfix and let the Operatics do their thing.
Isn't one of the main purposes of jQuery to overcome browser bugs?
comment:22 Changed 12 years ago by
Description: | modified (diff) |
---|
+0, If this is an opera bug and only affects pseudoselectors, we might have to suck it up. Seems like it could be high cost, low reward...and there could be a fixed Opera, and we know how Opera users are (they love updating).
comment:23 Changed 12 years ago by
This was an Opera bug, but it's been fixed in Presto since reported. The problem was "querySelectorAll does not throw for an unsupported pseudo-class part of selector if there is a valid part first."
So, either wait for your users to upgrade to whatever version the fix gets integrated (12? dunno), or don't use custom non-QSA selectors.
comment:24 Changed 12 years ago by
Keywords: | browser-opera 1.7-discuss removed |
---|---|
Milestone: | 1.next → 1.7 |
Priority: | blocker → low |
comment:25 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | open → closed |
Hi, can you please post a test case built using jsfiddle.net? The code snippet you provided isn't enough since it's not even clear what "this" is.