Handle all writing-modes in downcast
<rdar://problem/37676961>
Created attachment 334206 [details] Patch
Committed r228822: <https://trac.webkit.org/changeset/228822>