Ticket #8542 (closed bug: worksforme)
nth-child in WebKit returns wrong count of elements
|Reported by:||patryk@…||Owned by:|
I've got some strange issue.
I wanted to use :nth-child() to select 4 last children out of my selection: jsfiddle.net/vsRj3/3/ But it returns wrong count of elements, in this case 3, but on my production site an empty list. Strange enough, when I leave even number of selectors, it returns ok, but odd number, it returns nothing.
On the other hand, by using :eq() : jsfiddle.net/vsRj3/4/ works ok.
It seems there's a bug concerning :nth-child.
Checked on Chrome 10.0.648.134 and Safari 5.0.4
Thanks for help!
- Priority changed from undecided to low
- Resolution set to worksforme
- Status changed from new to closed
- Component changed from unfiled to selector