Bug 180213

Summary: Web Automation: computeElementLayout does not correctly translate iframe client coordinates to main frame coordinates
Product: WebKit Reporter: BJ Burg <bburg>
Component: WebDriverAssignee: BJ Burg <bburg>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, cgarcia, commit-queue, joepeck, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=179129
Attachments:
Description Flags
Proposed Fix none

Description BJ Burg 2017-11-30 12:19:44 PST
The fix in https://bugs.webkit.org/show_bug.cgi?id=179129 was not completely right. We need to translate to the root view, otherwise coordinates returned are still in subframe's client coordinate system.
Comment 1 BJ Burg 2017-11-30 12:20:57 PST
<rdar://problem/30260141>
Comment 2 BJ Burg 2017-11-30 12:35:13 PST
Created attachment 328007 [details]
Proposed Fix
Comment 3 WebKit Commit Bot 2017-11-30 16:11:43 PST
Comment on attachment 328007 [details]
Proposed Fix

Clearing flags on attachment: 328007

Committed r225367: <https://trac.webkit.org/changeset/225367>
Comment 4 WebKit Commit Bot 2017-11-30 16:11:45 PST
All reviewed patches have been landed.  Closing bug.