2009-03-04 Simon Fraser <simon.fraser@apple.com>
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Mar 2009 02:36:05 +0000 (02:36 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Mar 2009 02:36:05 +0000 (02:36 +0000)
commit85d4d265a0f4ef2ab34742664eef4deeb85ed592
tree75b17b39296be92baf7d81901ff5de85df9665bd
parent67d6c82bd91a2273effe2827d35c7f94252d402f
2009-03-04  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Eric Seidel

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

        If an element has backface-visibility: hidden, hit testing should not
        hit the back sides of elements. Test for that by inverting the accumulated
        transform and looking at the z vector.

        Tested by transforms/3d/hit-testing/backface-hit-test.html

        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::hitTestLayer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/rendering/RenderLayer.cpp