Bug 139815 - Element appears correctly but does not receive event with a large translation
Summary: Element appears correctly but does not receive event with a large translation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.10
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-12-19 06:24 PST by Julien Quint
Modified: 2015-01-15 22:14 PST (History)
8 users (show)

See Also:


Attachments
Failure case: the red box does not respond to click event. (828 bytes, text/html)
2014-12-19 06:24 PST, Julien Quint
no flags Details
Successful case, the green box can be clicked (824 bytes, text/html)
2014-12-19 06:25 PST, Julien Quint
no flags Details
Patch (5.29 KB, patch)
2015-01-15 20:09 PST, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.