Bug 139815

Summary: Element appears correctly but does not receive event with a large translation
Product: WebKit Reporter: Julien Quint <julienq>
Component: UI EventsAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, graouts, kondapallykalyan, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.10   
Attachments:
Description Flags
Failure case: the red box does not respond to click event.
none
Successful case, the green box can be clicked
none
Patch none

Description Julien Quint 2014-12-19 06:24:42 PST
Created attachment 243549 [details]
Failure case: the red box does not respond to click event.

An element translated inside another translated div where both have a very large translation (e.g. translate3d(-41946499px, -28497722px, 0px) for the parent div, and translate3d(41946743px, 28497858px, 0px) for the child element) is displayed correctly but events such as "click" 

Attached are two files showing a reduction of this bug. In the failure case, the red box appears at the right position (the blue box in the corner is provided as a reference) but cannot be clicked. In the successful case, the green box appears and behaves as expected; the translation values are smaller than in the failing case, while still being pretty large.
Comment 1 Julien Quint 2014-12-19 06:25:22 PST
Created attachment 243550 [details]
Successful case, the green box can be clicked
Comment 2 Radar WebKit Bug Importer 2014-12-19 06:26:52 PST
<rdar://problem/19307771>
Comment 3 zalan 2015-01-15 20:09:14 PST
Created attachment 244745 [details]
Patch
Comment 4 WebKit Commit Bot 2015-01-15 22:13:51 PST
Comment on attachment 244745 [details]
Patch

Clearing flags on attachment: 244745

Committed r178574: <http://trac.webkit.org/changeset/178574>
Comment 5 WebKit Commit Bot 2015-01-15 22:14:00 PST
All reviewed patches have been landed.  Closing bug.