Skip to main content

Bug Tracker

Side navigation

#12405 closed bug (duplicate)

Opened August 27, 2012 09:15AM UTC

Closed August 27, 2012 02:27PM UTC

Selector :eq(0) is broken in Firefox 3.6

Reported by: mail@zisoft.de 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>
Attachments (0)
Change History (2)

Changed August 27, 2012 01:20PM UTC by dmethvin comment:1

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.

Changed August 27, 2012 02:27PM UTC by timmywil comment:2

component: unfiledselector
priority: undecidedlow
resolution: → duplicate
status: newclosed

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.