Skip to content

dom context with html5 tag #72

@somajs

Description

@somajs

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions