In overlap case the latter boxes should be hit first.
Created attachment 414674 [details] patch
Created attachment 414688 [details] patch
Committed r270119: <https://trac.webkit.org/changeset/270119> All reviewed patches have been landed. Closing bug and clearing flags on attachment 414688 [details].
<rdar://problem/71631509>