Extend the intersection logic to handle computing the intersection of the target and the viewport, for the case where the target is in the main frame.
Created attachment 348336 [details] Patch
Comment on attachment 348336 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=348336&action=review > Source/WebCore/dom/Document.cpp:7465 > + if (!rootRenderer->isContainingBlockAncestorFor(*targetRenderer)) Shame we have to do an ancestor walk here.
Comment on attachment 348336 [details] Patch Clearing flags on attachment: 348336 Committed r235459: <https://trac.webkit.org/changeset/235459>
All reviewed patches have been landed. Closing bug.
<rdar://problem/43838709>