2009-02-24 Simon Fraser <simon.fraser@apple.com>
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Feb 2009 02:50:28 +0000 (02:50 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Feb 2009 02:50:28 +0000 (02:50 +0000)
commit34ad5d182f393ea91732ed3fbd051fc1dee1a4d9
treee11e539af2ecd14f9ff7e1a6c05a5e457c36f6bc
parentd9a41fcf1be9e8863486917fc924940e70040be3
2009-02-24  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dave Hyatt

        https://bugs.webkit.org/show_bug.cgi?id=24137

        Fix localToAbsolute() and absoluteToLocal() to map points through 3d transforms,
        taking perspective and transform-style: preserve-3d into account.

        In order to support transform-style: preserve-3d, which keeps elements in a
        3d space, we have to carry along an accumulated matrix in TransformState.
        We also need to apply the perspective from the parent, if any, with the
        appropriate origin.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41208 268f45cc-cd09-0410-ab3c-d52691b4dbfc
26 files changed:
WebCore/ChangeLog
WebCore/GNUmakefile.am
WebCore/WebCore.base.exp
WebCore/WebCore.pro
WebCore/WebCore.scons
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/WebCoreSources.bkl
WebCore/css/CSSComputedStyleDeclaration.cpp
WebCore/platform/graphics/transforms/TransformationMatrix.cpp
WebCore/platform/graphics/transforms/TransformationMatrix.h
WebCore/rendering/RenderBox.cpp
WebCore/rendering/RenderBox.h
WebCore/rendering/RenderLayer.cpp
WebCore/rendering/RenderLayer.h
WebCore/rendering/RenderLayerBacking.cpp
WebCore/rendering/RenderLayerCompositor.cpp
WebCore/rendering/RenderObject.cpp
WebCore/rendering/RenderObject.h
WebCore/rendering/RenderTableCell.cpp
WebCore/rendering/RenderTableCell.h
WebCore/rendering/RenderView.cpp
WebCore/rendering/RenderView.h
WebCore/rendering/TransformState.cpp [new file with mode: 0644]
WebCore/rendering/TransformState.h [new file with mode: 0644]
WebCore/rendering/style/RenderStyle.h