Use dynamicDowncast<T> more in css/.
Pull request: https://github.com/WebKit/WebKit/pull/20837
Committed 271083@main (195dfef21b84): <https://commits.webkit.org/271083@main> Reviewed commits have been landed. Closing PR #20837 and removing active labels.
<rdar://problem/118750470>