-
wjmaclean@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=67503 Fixes filter shear-free transform applied to SVG images. Source/WebCore: In applyResource() the shearFreeAbsoluteTransform is applied to the drawing region, which is based on the object bounding box (which doesn't move). For a rotation around the centre of the box, this should really just be the identity matrix, since the BB should neither change size nor location. So really, we're just interested in the scale change of the BB here, and not in moving it. This impacts how slices are extracted, and affects the {x|y}Mid and {x|y}Max extractions for vertical and horizontal slices, so the test verifies these. Reviewed by Dirk Schulze. Test: svg/W3C-SVG-1.1-SE/filters-image-05-f.svg * rendering/svg/RenderSVGResourceFilter.cpp: (WebCore::RenderSVGResourceFilter::applyResource): LayoutTests: Reviewed by Dirk Schulze. * platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png: * platform/chromium-linux/svg/batik/text/textFeatures-expected.png: * platform/chromium-linux/svg/batik/text/textFeatures-expected.txt: Added. * platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png: * platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png: * platform/chromium-linux/svg/filters/filterRes-expected.png: * platform/chromium-linux/svg/filters/filterRes-expected.txt: Added. * platform/chromium/test_expectations.txt: * svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.png: Added. * svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.txt: Added. * svg/W3C-SVG-1.1-SE/filters-image-05-f.svg: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
6b893907