Make visibleContentRect() return actualVisibleContentRect() on iOS most of the time
Created attachment 221928 [details] Patch
Created attachment 221944 [details] Patch
Created attachment 221947 [details] Patch
Comment on attachment 221947 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=221947&action=review > Source/WebCore/platform/ScrollView.h:162 > + virtual IntRect visibleContentRect(VisibleContentRectIncludesScrollbars = ExcludeScrollbars, VisibleContentRectBehavior = ContentsVisibleRect) const override; Default values are nasty in general and having more than one especially awkward. Considering that very few call sites want to include the scrollbars I think you should add a separate visibleContentRectIncludingScrollbars() function.
Created attachment 222039 [details] Patch
https://trac.webkit.org/r162663