Just use StyleRuleType enum class
Created attachment 446765 [details] Patch
Created attachment 446866 [details] Patch
Created attachment 446867 [details] Patch
Created attachment 446868 [details] Patch
Created attachment 446873 [details] Patch
Created attachment 446883 [details] Patch
Comment on attachment 446883 [details] Patch rs=me
Committed r286916 (245142@main): <https://commits.webkit.org/245142@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446883 [details].
<rdar://problem/86366960>