Bug 24659 - Hit testing fails on an element that is rotated almost 90degrees in 3d
Summary: Hit testing fails on an element that is rotated almost 90degrees in 3d
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
URL: https://bugs.webkit.org/attachment.cg...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2009-03-17 16:45 PDT by Simon Fraser (smfr)
Modified: 2009-03-24 14:08 PDT (History)
0 users

See Also:


Attachments
Patch, changelog, testcase (5.34 KB, patch)
2009-03-23 16:59 PDT, Simon Fraser (smfr)
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2009-03-17 16:45:18 PDT
Hit testing fails on things that a rotated to be almost edge-on (say in a parent with perspective).

The issue is that the hitTestRect that gets mapped through the inverse transform ends up with weird coords, and so the hitTestPoint falls outside of it.
Comment 1 Simon Fraser (smfr) 2009-03-17 16:45:42 PDT
<rdar://problem/6380023>
Comment 2 Simon Fraser (smfr) 2009-03-19 09:30:49 PDT
Another testcase in the url.
Comment 3 Simon Fraser (smfr) 2009-03-23 16:59:22 PDT
Created attachment 28875 [details]
Patch, changelog, testcase
Comment 4 Dave Hyatt 2009-03-24 11:42:58 PDT
Comment on attachment 28875 [details]
Patch, changelog, testcase

r=me
Comment 5 Simon Fraser (smfr) 2009-03-24 14:08:20 PDT
http://trac.webkit.org/changeset/41952