Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#10214 closed bug (cantfix)

:nth-child(k) selector does not work in Opera with k>127

Reported by: vc.kosyak@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.3
Keywords: Cc: miketaylr
Blocked by: Blocking:

Description

How to reproduce:

  1. Open http://kosov.eu/opera.html in Opera (tested with Opera 11.51.1087, 12.00.1054)
  2. Input any number from 1 to 500, click 'Go'
  3. If number is less than 128, appropriate link will change background. Otherwise, no elements will be found with 'a:nth-child(k)' selector although element count is correct
  4. In any other browser this selector works fine

Change History (3)

comment:1 Changed 8 years ago by Vadim Kosov <vc.kosyak@…>

Sorry for not using jsFiddle, here's the test case: http://jsfiddle.net/k8x8c/

comment:2 Changed 8 years ago by dmethvin

Cc: miketaylr added
Resolution: cantfix
Status: newclosed

Seems like an Opera bug; we delegate the job to querySelectorAll. I've copied Mike Taylor from Opera.

comment:3 Changed 8 years ago by miketaylr

Weird, let me track someone down. Thanks for the report!

Note: See TracTickets for help on using tickets.