Bug 96098 - [TouchAdjustment] Adjusted point outside bounds for non-rectilinear targets
Summary: [TouchAdjustment] Adjusted point outside bounds for non-rectilinear targets
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 420+
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Allan Sandfeld Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-07 04:43 PDT by Allan Sandfeld Jensen
Modified: 2012-09-17 08:02 PDT (History)
2 users (show)

See Also:


Attachments
Patch (8.55 KB, patch)
2012-09-07 04:50 PDT, Allan Sandfeld Jensen
tonikitoo: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Allan Sandfeld Jensen 2012-09-07 04:43:05 PDT
TouchAdjust::snapTo() tries to adjust the given point to a place in the intersection of the touch-area and the target. Unfortunately it doesn't do a very good job when it comes to non-rectilinear targets, and the adjusted point is not always restricted to the touch area.
Comment 1 Allan Sandfeld Jensen 2012-09-07 04:50:14 PDT
Created attachment 162746 [details]
Patch
Comment 2 Antonio Gomes 2012-09-17 07:50:18 PDT
Comment on attachment 162746 [details]
Patch

That is ok.

We know that there might be fixed pos elements at the place where to snap things to. I remember we have a bug for this, I think.
Comment 3 Allan Sandfeld Jensen 2012-09-17 08:02:19 PDT
Committed r128757: <http://trac.webkit.org/changeset/128757>