#10921 closed bug (duplicate)
Opera 11 - reordering selectors (comma separated) returns different number of elements!
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | selector | Version: | 1.7.1 |
Keywords: | opera, qsa | Cc: | |
Blocked by: | Blocking: |
Description
Shortly, in Opera 11.52 queries bellow return different results (select on the begging, vs select on the end). Works in Opera 12 alpha. Example page is not currently available online, I can send you static html file if needed.
var third = $('select, input:submit, input:checkbox, input:radio, input:file, button').length; var forth = $('input:submit, input:checkbox, input:radio, input:file, button, select').length;
Change History (6)
comment:1 Changed 11 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
comment:2 Changed 11 years ago by
Status: | pending → new |
---|
comment:3 Changed 11 years ago by
Component: | unfiled → selector |
---|---|
Priority: | undecided → low |
Status: | new → open |
Thanks. Just remember it's important that the testcase is simplified. Posting your whole source to jsfiddle is not good enough, see my testcase for example on how to do it.
I've created a simplified testcase that shows the issue.
I can reproduce the issue in Opera 11.52 and Firefox 3.6, not in Firefox 8, Chrome 15, Safari 5, IE7-9.
comment:4 Changed 11 years ago by
Keywords: | opera qsa added |
---|---|
Resolution: | → duplicate |
Status: | open → closed |
This appears to be a bug with Opera's querySelectorAll.
Note: See
TracTickets for help on using
tickets.
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.
Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.