2010-04-30 Chris Marrin <cmarrin@apple.com>
authorcmarrin@apple.com <cmarrin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Apr 2010 17:23:24 +0000 (17:23 +0000)
committercmarrin@apple.com <cmarrin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Apr 2010 17:23:24 +0000 (17:23 +0000)
commitdfac1d2cb10f1d4ecb222661597b57b8d7b8f841
treeb395bc438c88ddab12a286087f9583b975a70a36
parent1a339c5c13ff9cfb31a18656ecbefec91327cc1e
2010-04-30  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Reversed the order of the CSSMatrix.multiply method
        https://bugs.webkit.org/show_bug.cgi?id=38337

        * css/WebKitCSSMatrix.cpp:
        (WebCore::WebKitCSSMatrix::multiply):
        * platform/graphics/transforms/TransformationMatrix.cpp:

        These are the existing tests for 2D and 3D CSSMatrix and SVGMatrix.
        I've added tests missing between the two styles and now do tests
        that confirm that SVGMatrix and CSSMatrix both multiply the same.

        This also adds a new test from Simon which compares SVG to CSS matrixes.
        This is a pixel test for mac only.

        * platform/mac/transforms/svg-vs-css-expected.checksum: Added.
        * platform/mac/transforms/svg-vs-css-expected.png: Added.
        * platform/mac/transforms/svg-vs-css-expected.txt: Added.
        * svg/dom/SVGMatrix-interface-expected.txt:
        * svg/dom/SVGMatrix-interface.xhtml:
        * transforms/cssmatrix-2d-interface-expected.txt:
        * transforms/cssmatrix-2d-interface.xhtml:
        * transforms/cssmatrix-3d-interface-expected.txt:
        * transforms/cssmatrix-3d-interface.xhtml:
        * transforms/svg-vs-css.xhtml: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@58584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/mac/transforms/svg-vs-css-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/transforms/svg-vs-css-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/transforms/svg-vs-css-expected.txt [new file with mode: 0644]
LayoutTests/svg/dom/SVGMatrix-interface-expected.txt
LayoutTests/svg/dom/SVGMatrix-interface.xhtml
LayoutTests/transforms/cssmatrix-2d-interface-expected.txt
LayoutTests/transforms/cssmatrix-2d-interface.xhtml
LayoutTests/transforms/cssmatrix-3d-interface-expected.txt
LayoutTests/transforms/cssmatrix-3d-interface.xhtml
LayoutTests/transforms/svg-vs-css.xhtml [new file with mode: 0644]
WebCore/ChangeLog
WebCore/css/WebKitCSSMatrix.cpp
WebCore/platform/graphics/transforms/TransformationMatrix.cpp