# html5lib-tests

This directory contains a third-party test suite used for testing the WordPress HTML API.

`html5lib-tests` can be found on GitHub at [html5lib/html5lib-tests](https://github.com/html5lib/html5lib-tests).

The necessary files have been copied to this directory:

- `AUTHORS.rst`
- `LICENSE`
- `README.md`
- `tree-construction/README.md`
- `tree-construction/*.dat`

The version of these files was taken from the git commit with
SHA [`a9f44960a9fedf265093d22b2aa3c7ca123727b9`](https://github.com/html5lib/html5lib-tests/commit/a9f44960a9fedf265093d22b2aa3c7ca123727b9).

## Updating

If there have been changes to the html5lib-tests repository, this test suite can be updated. In
order to update:

1. Check out the latest version of git repository mentioned above.
1. Copy the files listed above into this directory.
1. Update the SHA mentioned in this README file with the new html5lib-tests SHA.
