Skip to main content

Bug Tracker

Side navigation

#10214 closed bug (cantfix)

Opened September 07, 2011 10:04AM UTC

Closed September 08, 2011 03:42AM UTC

Last modified September 08, 2011 08:29AM UTC

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

Reported by: vc.kosyak@gmail.com 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

Attachments (0)
Change History (3)

Changed September 07, 2011 10:11AM UTC by Vadim Kosov <vc.kosyak@gmail.com> comment:1

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

Changed September 08, 2011 03:42AM UTC by dmethvin comment:2

cc: → miketaylr
resolution: → cantfix
status: newclosed

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

Changed September 08, 2011 08:29AM UTC by miketaylr comment:3

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