Bug 96098

Summary: [TouchAdjustment] Adjusted point outside bounds for non-rectilinear targets
Product: WebKit Reporter: Allan Sandfeld Jensen <allan.jensen>
Component: UI EventsAssignee: Allan Sandfeld Jensen <allan.jensen>
Severity: Normal CC: kevers, tonikitoo
Priority: P2    
Version: 420+   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch tonikitoo: review+

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]
Comment 2 Antonio Gomes 2012-09-17 07:50:18 PDT
Comment on attachment 162746 [details]

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>