RenderStyle is not supposed to contain any logic like this (or any logic for that matter).
Created attachment 424822 [details] Patch
Committed r275312: <https://commits.webkit.org/r275312> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424822 [details].
<rdar://problem/76074652>