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

dom context with html5 tag #72

Open
somajs opened this issue Feb 22, 2012 · 3 comments
Open

dom context with html5 tag #72

somajs opened this issue Feb 22, 2012 · 3 comments

Comments

@somajs
Copy link

somajs commented Feb 22, 2012

Hi,

It seems I have an issue on IE7 using a dom node context with a html5 tag, if that makes sense...

Note that if I change the tags from "section" to "div", it works.
Articles tags don't work either.

Is that a bug or I'm missing something?

See the code below.

Romu

<!doctype html>
<html>
<head>
    <title>title</title>
</head>
<body>

<section id="main">
    <section class="test">

    </section>
    <section class="test">

    </section>
</section>

<script type="text/javascript" src="qwery.js"></script>

<script type="text/javascript">
    var main = qwery("#main")[0];
    alert(main)
    alert(main.id)
    var tests = qwery(".test", main);
    alert(tests)
    alert(tests.length)
</script>

</body>
</html>
@ded
Copy link
Owner

ded commented Feb 22, 2012

Qwery has a general problem with HTML5 tags... perhaps the HTML5 shiv would easily fix this for you?

@somajs
Copy link
Author

somajs commented Feb 22, 2012

I already tried that but it doesn't solve anything. Could I get more details about what the problem is (if you know already)?

@jbmonroe
Copy link

Perhaps this should be closed because IE7 isn't even a thing anymore--and it never could do HTML5 tags anyway.

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

3 participants