Bug Tracker

Modify

Ticket #6568 (closed bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

$('#id > some_tag:first') does not work in Chrome

Reported by: mmmikeyyy Owned by:
Priority: Milestone: 1.4.3
Component: selector Version: 1.4.2
Keywords: Cc:
Blocking: Blocked by:

Description

in Chrome, the above syntax is not working.

Had to convert all occurrences to

$('#id').children('some_tag:first')

Syntax in title returns 0-length set in Chrome. Works in IE, Safari and FF.

If :first is replaced with :eq(0), it works.

Note: ":last" works fine in all browsers.

Question: when a bug is fixed, how can we get the fix without having to wait months for the next version??

Change History

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #6519, which says this is a webkit bug. Is this a shipping version of Chrome, or a nightly?

comment:2 Changed 3 years ago by mmmikeyyy

it's this version of Chrome: 6.0.401.1 dev

(shipping version)

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.