Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nth-of-type broken in IE6 #3

Open
tobsn opened this issue Apr 8, 2011 · 2 comments
Open

nth-of-type broken in IE6 #3

tobsn opened this issue Apr 8, 2011 · 2 comments

Comments

@tobsn
Copy link

tobsn commented Apr 8, 2011

<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
Copy link
Owner

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
   <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:
#3

@tobsn
Copy link
Author

tobsn commented May 12, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants