Bug 170603

Summary: Missing conversion from window to content coordinates when adjusting unobscured content rects for input view
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: WebKit2Assignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, simon.fraser, thorton
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
simon.fraser: review+
Patch for landing none

Wenson Hsieh
Reported 2017-04-07 09:04:49 PDT
In -[WKContentView _computeUnobscuredContentRectRespectingInputViewBounds:unobscuredContentRect:inputViewBounds:scale:], inputViewBounds is in window coordinates, while unobscuredContentRect is specified in content coordinates. Before doing math with inputViewBounds, we need to convert it to content view coordinates.
Attachments
Patch (3.59 KB, patch)
2017-04-07 09:45 PDT, Wenson Hsieh
simon.fraser: review+
Patch for landing (3.57 KB, patch)
2017-04-07 11:59 PDT, Wenson Hsieh
no flags
Wenson Hsieh
Comment 1 2017-04-07 09:45:31 PDT
Wenson Hsieh
Comment 2 2017-04-07 11:59:39 PDT
Created attachment 306524 [details] Patch for landing
WebKit Commit Bot
Comment 3 2017-04-07 12:17:39 PDT
Comment on attachment 306524 [details] Patch for landing Clearing flags on attachment: 306524 Committed r215111: <http://trac.webkit.org/changeset/215111>
Note You need to log in before you can comment on or make changes to this bug.