Also align JSHTMLElement::pushEventHandlerScope() with the spec.
Pull request: https://github.com/WebKit/WebKit/pull/7273
<rdar://problem/103080824>
Committed 258430@main (8bc1b9f068aa): <https://commits.webkit.org/258430@main> Reviewed commits have been landed. Closing PR #7273 and removing active labels.