:dir directionality pseudo class should work within :has(~)
<rdar://problem/97767103>
Created attachment 461916 [details] WIP
Pull request: https://github.com/WebKit/WebKit/pull/3801
Committed 254017@main (ded49fab2233): <https://commits.webkit.org/254017@main> Reviewed commits have been landed. Closing PR #3801 and removing active labels.