Peppy
Peppy copied to clipboard
nth-of-type broken in IE6
<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.
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 < [email protected]>wrote:
1<div id="two">2</div> <span id="aspan"></span> <div id="three">3</div> <img src="" /> <div id="four">4</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.
Reply to this email directly or view it on GitHub: https://github.com/jdonaghue/Peppy/issues/3
honestly... besides sizzle and yass there is not a single 100% CSS3 compatible library... and even yass has some issues. just fyi ;)