This is only used for appearance switching, it might be possible to simply leverage `appearance: auto`.
Pull request: https://github.com/WebKit/WebKit/pull/913
Committed r294728 (250906@main): <https://commits.webkit.org/250906@main> Reviewed commits have been landed. Closing PR #913 and removing active labels.
<rdar://problem/93806896>
Created attachment 463749 [details] Testcase