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

Restore the support for matching html and body #75

Merged
merged 1 commit into from Oct 6, 2020

Commits on Oct 2, 2020

  1. Restore the support for matching html and body

    This effectively reverts 306b8f4 and adds specs for matching `html` and `body` elements.
    
    The issue reported in kucaahbe#62 isn't solvable using DOM assertions. DOM tree has to have a root element (`html`). Using `DocumentFragment` extracts a part of the tree, so it won't contain `html` or `body` elements, but that doesn't mean they weren't a part of the input.
    CvX committed Oct 2, 2020
    Copy the full SHA
    4746224 View commit details
    Browse the repository at this point in the history