jdonaghue / Peppy

Lightning fast selector engine
42 stars 7 forks source link

nth-of-type broken in IE6 #3

Open tobsn opened 13 years ago

tobsn commented 13 years ago
<div id="xid">
    <div id="one">1</div>
    <div id="two">2</div>
    <span id="aspan"></span>
    <div id="three">3</div>
    <img src="" />
    <div id="four">4</div>
</div>

$('div#xid > div:nth-of-type(3)');

this should match the div id="three" but it doesnt. it just breaks on the span and returns nothing.

jdonaghue commented 13 years ago

Hi,

Thanks for reporting these bugs! The project has been stale for a while, but I am planning to resurrect it. Life kind of got in the way ;) I will take a look at these and try to get a fix in soon.

Thanks again!

-James

On Fri, Apr 8, 2011 at 2:22 PM, tobsn < reply@reply.github.com>wrote:

1
```
2
3
4
```

$('div#xid > div:nth-of-type(3)');

this should match the div id="three" but it doesnt. it just breaks on the span and returns nothing.

Reply to this email directly or view it on GitHub: https://github.com/jdonaghue/Peppy/issues/3

tobsn commented 13 years ago

honestly... besides sizzle and yass there is not a single 100% CSS3 compatible library... and even yass has some issues. just fyi ;)