button is special in relation to p (in that </button> generates implied end tags),
...
I don't see a test for <button><p></button>x, so that is missing coverage.
An end tag whose tag name is one of: "address", "article", "aside", "blockquote", "button", "center", "details", "dialog", "dir", "div", "dl", "fieldset", "figcaption", "figure", "footer", "header", "hgroup", "listing", "main", "menu", "nav", "ol", "pre", "section", "summary", "ul"
button
is special in relation top
(in that</button>
generates implied end tags), ... I don't see a test for<button><p></button>x
, so that is missing coverage.Originally posted by @zcorpan in https://github.com/html5lib/html5lib-tests/issues/142#issuecomment-1035690952
https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inbody