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

support root-level selectors #5

Closed
tj opened this issue Dec 19, 2012 · 4 comments
Closed

support root-level selectors #5

tj opened this issue Dec 19, 2012 · 4 comments

Comments

@tj
Copy link
Member

tj commented Dec 19, 2012

for example

<div class="login">
  <form action="/user" method="post" autosubmit>
    <input type="text" name="name" placeholder="Username" />
    <input type="password" name="pass" placeholder="Password" />
    <input type="submit" value="Login" />
  </form>
</div>

is fine, however the following is not:

  <form action="/user" method="post" autosubmit>
    <input type="text" name="name" placeholder="Username" />
    <input type="password" name="pass" placeholder="Password" />
    <input type="submit" value="Login" />
  </form>
@weepy
Copy link

weepy commented Dec 19, 2012

what does this mean ?

@tj
Copy link
Member Author

tj commented Dec 19, 2012

since we're using querySelector all it's for children only

@timoxley timoxley mentioned this issue Jan 3, 2013
@yields
Copy link
Member

yields commented Aug 18, 2013

#72

@defunctzombie
Copy link
Contributor

This was done it seems.

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

No branches or pull requests

4 participants