Reduce use of downcast<>() in rendering/style code.
Pull request: https://github.com/WebKit/WebKit/pull/22212
Committed 272481@main (97b4d91001b8): <https://commits.webkit.org/272481@main> Reviewed commits have been landed. Closing PR #22212 and removing active labels.
<rdar://problem/120078000>