Peppy icon indicating copy to clipboard operation
Peppy copied to clipboard

nth-of-type broken in IE6

Open tobsn opened this issue 13 years ago • 2 comments

<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.

tobsn avatar Apr 08 '11 18:04 tobsn

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

jdonaghue avatar May 12 '11 23:05 jdonaghue

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

tobsn avatar May 12 '11 23:05 tobsn