Our internal review found that there is a chance to optimize bug 210544 patch. We don't need to clip a content layer if the clipping rect contains the content rect. This patch doesn't change the behavior but saves stencil indices.
Created attachment 397064 [details] patch
Created attachment 398851 [details] patch Also update the test expectation. https://bugs.webkit.org/show_bug.cgi?id=210544#c5 Although it's not enabled because of bug 163528 and bug 177536
Committed r261422: <https://trac.webkit.org/changeset/261422> All reviewed patches have been landed. Closing bug and clearing flags on attachment 398851 [details].