It will be useful to have an extensible state struct available during style resolution.
Created attachment 443940 [details] Patch
Committed r285630 (244131@main): <https://commits.webkit.org/244131@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443940 [details].
<rdar://problem/85297998>