This is needed to properly clip the position of the menu bar. <rdar://problem/15980307>
Created attachment 235106 [details] Patch
After discussing this with Ben, we agreed that this is not the right thing to do here.
Comment on attachment 235106 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=235106&action=review > Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:365 > +- (CGRect)visibleBounds > +{ > + return [self unobscuredContentRect]; > +} Can you add a comment explaining how "visibleBounds" is used by UIKit? I think the name is quite bad, but we don't have much freedom here since this is part of the UIView's interface.