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

Add support for parsing <!DOCTYPE html> #71

Merged
merged 2 commits into from
Feb 3, 2021
Merged

Commits on Feb 3, 2021

  1. Add support for parsing <!DOCTYPE html>

    The
    [spec](https://html.spec.whatwg.org/multipage/syntax.html#the-doctype)
    says this about `<!DOCTYPE`:
    
    > DOCTYPEs are required for legacy reasons. When omitted, browsers tend to
    > use a different rendering mode that is incompatible with some
    > specifications. Including the DOCTYPE in a document ensures that the
    > browser makes a best-effort attempt at following the relevant
    > specifications.
    rwjblue committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    cfdb371 View commit details
    Browse the repository at this point in the history
  2. Make doctype delegate methods optional

    This allows the change to be non-breaking.
    rwjblue committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    c3223ab View commit details
    Browse the repository at this point in the history