Bug 180213 - Web Automation: computeElementLayout does not correctly translate iframe client coordinates to main frame coordinates
Summary: Web Automation: computeElementLayout does not correctly translate iframe clie...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: BJ Burg
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-11-30 12:19 PST by BJ Burg
Modified: 2017-11-30 16:11 PST (History)
7 users (show)

See Also:


Attachments
Proposed Fix (6.11 KB, patch)
2017-11-30 12:35 PST, BJ Burg
no flags Details | Formatted Diff | Diff

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