Created attachment 369545 [details] Testcase Attached testcase (with layer borders on) show that we make backing that is much too big when the shared layer has a transform. We need to do the right transform math when computing composited bounds.
We're getting localClipRect and transforming it, which seems wrong.
<rdar://problem/50695493>
Created attachment 369654 [details] Patch
Comment on attachment 369654 [details] Patch Clearing flags on attachment: 369654 Committed r245208: <https://trac.webkit.org/changeset/245208>
All reviewed patches have been landed. Closing bug.