RESOLVED FIXED193753
Add "frame hosting" nodes to the scrolling tree
https://bugs.webkit.org/show_bug.cgi?id=193753
Summary Add "frame hosting" nodes to the scrolling tree
Simon Fraser (smfr)
Reported 2019-01-23 18:35:53 PST
Add "frame hosting" nodes to the scrolling tree
Attachments
Patch (46.90 KB, patch)
2019-01-23 18:39 PST, Simon Fraser (smfr)
koivisto: review+
Simon Fraser (smfr)
Comment 1 2019-01-23 18:39:44 PST
EWS Watchlist
Comment 2 2019-01-23 18:42:05 PST
Attachment 359982 [details] did not pass style-queue: ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 1 in 23 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 3 2019-01-23 18:45:40 PST
We may need to give these FrameHosting nodes some geometry (representing the offsets of the RenderIFrame from their scrolling node ancestor), so that the ScrollingTreeFrameScrollingNode's geometry doesn't need to account for offsets which belong to a different document.
Antti Koivisto
Comment 4 2019-01-24 04:15:01 PST
Comment on attachment 359982 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=359982&action=review > Source/WebCore/page/scrolling/ios/ScrollingTreeIOS.cpp:94 > case ScrollingNodeType::Subframe: > return ScrollingTreeFrameScrollingNodeIOS::create(*this, nodeType, nodeID); > + case ScrollingNodeType::FrameHosting: > + return ScrollingTreeFrameHostingNode::create(*this, nodeID); Is this code (web process side scrolling tree on iOS) actually ever used?
Simon Fraser (smfr)
Comment 5 2019-01-24 07:56:07 PST
(In reply to Antti Koivisto from comment #4) > Comment on attachment 359982 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=359982&action=review > > > Source/WebCore/page/scrolling/ios/ScrollingTreeIOS.cpp:94 > > case ScrollingNodeType::Subframe: > > return ScrollingTreeFrameScrollingNodeIOS::create(*this, nodeType, nodeID); > > + case ScrollingNodeType::FrameHosting: > > + return ScrollingTreeFrameHostingNode::create(*this, nodeID); > > Is this code (web process side scrolling tree on iOS) actually ever used? No. I was hoping to use is for iOS WK1 (UIWebView) but that never happened.
Simon Fraser (smfr)
Comment 6 2019-01-24 08:11:25 PST
Radar WebKit Bug Importer
Comment 7 2019-01-24 08:12:27 PST
Antti Koivisto
Comment 8 2019-01-24 08:31:12 PST
> No. I was hoping to use is for iOS WK1 (UIWebView) but that never happened. Let's remove it then to reduce general confusion.
Simon Fraser (smfr)
Comment 9 2019-01-24 13:50:03 PST
(In reply to Antti Koivisto from comment #8) > > No. I was hoping to use is for iOS WK1 (UIWebView) but that never happened. > > Let's remove it then to reduce general confusion. I tried, and found that RemoteLayerTree/ios/ScrollingTreeFrameScrollingNodeRemoteIOS inherits from WebCore/ScrollingTreeFrameScrollingNodeIOS so fixing this is a bit more involved.
Note You need to log in before you can comment on or make changes to this bug.