Incorrect large-area clipping
https://bugs.webkit.org/show_bug.cgi?id=95197
Reviewed by Nikolas Zimmermann.
Source/WebCore:
ImageBuffers allocated for clipping and masking are clamped to kMaxImageBufferSize max
(4096x4096). In order to properly account for the scaling factor introduced by this
clamping, the repaintRect translation component needs to be pushed after the scaling
transform.
Tests: svg/custom/clamped-masking-clipping-expected.svg
svg/custom/clamped-masking-clipping.svg
* rendering/svg/SVGRenderingContext.cpp:
(WebCore::SVGRenderingContext::createImageBuffer):
LayoutTests:
* svg/custom/clamped-masking-clipping-expected.svg: Added.
* svg/custom/clamped-masking-clipping.svg: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@126993
268f45cc-cd09-0410-ab3c-
d52691b4dbfc