Simplify the logic by making Shapes relative to the border box.
<rdar://problem/106353011>
Pull request: https://github.com/WebKit/WebKit/pull/11168
Committed 261331@main (5817fa68b77f): <https://commits.webkit.org/261331@main> Reviewed commits have been landed. Closing PR #11168 and removing active labels.