RESOLVED FIXED 156429
[iOS WK2] WKWebViews should consult ancestor UIScrollViews to determine tiling area
https://bugs.webkit.org/show_bug.cgi?id=156429
Summary [iOS WK2] WKWebViews should consult ancestor UIScrollViews to determine tilin...
Simon Fraser (smfr)
Reported 2016-04-08 17:11:28 PDT
[iOS WK2] WKWebViews should consult ancestor UIScrollViews to determine tiling area
Attachments
Patch (32.89 KB, patch)
2016-04-08 17:23 PDT, Simon Fraser (smfr)
thorton: review+
Simon Fraser (smfr)
Comment 1 2016-04-08 17:23:21 PDT
Simon Fraser (smfr)
Comment 2 2016-04-08 17:23:52 PDT
WebKit Commit Bot
Comment 3 2016-04-08 17:25:11 PDT
Attachment 276062 [details] did not pass style-queue: ERROR: Source/WebKit2/Shared/VisibleContentRectUpdateInfo.h:60: Wrong number of spaces before statement. (expected: 12) [whitespace/indent] [4] Total errors found: 1 in 15 files If any of these errors are false positives, please file a bug against check-webkit-style.
Tim Horton
Comment 4 2016-04-08 17:27:40 PDT
Comment on attachment 276062 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=276062&action=review > Source/WebCore/page/Page.h:302 > + bool enclosedInScrollView() const { return m_enclosedInScrollView; } > + void setEnclosedInScrollView(bool f) { m_enclosedInScrollView = f; } I wonder if this is too generic. We have something called ScrollView, which this has nothing to do with. > Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm:1870 > + if (_enclosingScrollViewScrollTimer) Why NSTimer instead of a DeferrableOneShot? That will be a lot cheaper than rescheduling an NSTimer every scrolling increment.
Simon Fraser (smfr)
Comment 5 2016-04-08 18:19:13 PDT
Chris Dumez
Comment 6 2016-05-03 15:19:32 PDT
Reverted r199259 and r200161 for reason: Seems to have caused a ~1.2% PLT regression on iOS Committed r200390: <http://trac.webkit.org/changeset/200390>
Simon Fraser (smfr)
Comment 7 2016-05-09 12:32:17 PDT
Note You need to log in before you can comment on or make changes to this bug.