Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10214 closed bug (cantfix)

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

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.3
Keywords: Cc: miketaylr
Blocked by: Blocking:


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 11 years ago by Vadim Kosov <[email protected]…>

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

comment:2 Changed 11 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 11 years ago by miketaylr

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

Note: See TracTickets for help on using tickets.