html5lib / html5lib-tests

Testsuite data for html5lib, including the de-facto standard HTML parsing tests.
MIT License
188 stars 61 forks source link

Fix test for `</button>` closing `<p>` #149

Closed stevecheckoway closed 2 years ago

stevecheckoway commented 2 years ago

The document <!doctype html><button><p></button>x has no errors.

See https://github.com/html5lib/html5lib-tests/pull/146#issuecomment-1151632526 for my analysis.

Ms2ger commented 2 years ago

Given that @fb55 agrees that this is a bug in https://github.com/html5lib/html5lib-tests/pull/146, I'll merge.