Bug 25507

Summary: Hit testing fails when a transformed element has non-transformed, composited children
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Testcase
none
Another testcase which I think is the same bug none

Simon Fraser (smfr)
Reported 2009-04-30 22:00:04 PDT
There's an issue with hit testing when an element has a transform, and a compositing layer, and has a child (with no transform, but with a compositing layer for some reason) that projects outside of its parent. The issue is that using calculateCompositedBounds() to compute hitTestRect is not the right thing to do.
Attachments
Testcase (1.04 KB, text/html)
2009-04-30 22:02 PDT, Simon Fraser (smfr)
no flags
Another testcase which I think is the same bug (1.84 KB, text/html)
2009-09-29 16:37 PDT, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2009-04-30 22:02:09 PDT
Created attachment 29935 [details] Testcase Testcase. Hover over "hover here", and note how the background div goes orange. It should not.
Simon Fraser (smfr)
Comment 2 2009-04-30 22:02:39 PDT
This is only broken when building with ACCELERATED_COMPOSITING turn on, BTW
Simon Fraser (smfr)
Comment 3 2009-09-29 16:37:06 PDT
Created attachment 40333 [details] Another testcase which I think is the same bug
Simon Fraser (smfr)
Comment 4 2009-09-29 16:38:32 PDT
Simon Fraser (smfr)
Comment 5 2014-10-31 19:34:47 PDT
This behaves correctly now.
Note You need to log in before you can comment on or make changes to this bug.