Opened 10 years ago
Closed 10 years ago
#12405 closed bug (duplicate)
Selector :eq(0) is broken in Firefox 3.6
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | selector | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The following code works fine in jQuery 1.7.2 and Firefox 3.6. It is broken with jQuery 1.8.0:
<!DOCTYPE HTML> <html> <head> <script type='text/javascript' src='jquery-1.8.0.min.js'></script> </head> <body> <div id='ul_div'> <ul> <li>item 1</li> <li>item 2</li> <li>item 3</li> </ul> </div> <script> alert($("#ul_div").children("ul:eq(0)").html()); </script> </body> </html>
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Component: | unfiled → selector |
---|---|
Priority: | undecided → low |
Resolution: | → duplicate |
Status: | new → closed |
This ticket has been ported to Sizzle issues. However, a test case from http://jsfiddle.net or http://jsbin.com using jQuery git is needed in order to address the issue. Please visit Sizzle issues and help us assess the issue by providing a test case.
Note: See
TracTickets for help on using
tickets.
Firefox 3.6 is no longer supported by Mozilla, meaning it is risky to continue its use because no security patches are being issued for example. jQuery has dropped support for Firefox 3.6 as well in 1.8. The Sizzle selector engine still has support for 3.6 so I'll leave this open, but if you encounter bugs in other jQuery subsystems with 3.6 they're unlikely to be fixed.