Adopt dynamicDowncast<>() more in html/.
Pull request: https://github.com/WebKit/WebKit/pull/20736
Committed 270996@main (a63f311f92d4): <https://commits.webkit.org/270996@main> Reviewed commits have been landed. Closing PR #20736 and removing active labels.
<rdar://problem/118667369>