Closed zcorpan closed 2 years ago
button
is special in relation to p
(in that </button>
generates implied end tags), but not in relation to search
. So no need to add new tests for button
here I think.
However I don't see a test for <button><p></button>x
, so that is missing coverage. I can file an issue.
Actually, button
is relevant here. I glossed over the "button scope" thing, until I saw your comment here!
The relevant test would be:
<!doctype html><p><button><search>
(which should not close the p
)
Fixed. I also tested the other start tags, for completeness.
See https://github.com/whatwg/html/pull/7320