RESOLVED WONTFIX 135037
iOS WK2: visibleBounds should return the unobscured content rect
https://bugs.webkit.org/show_bug.cgi?id=135037
Summary iOS WK2: visibleBounds should return the unobscured content rect
Enrica Casucci
Reported 2014-07-17 18:25:20 PDT
This is needed to properly clip the position of the menu bar. <rdar://problem/15980307>
Attachments
Patch (1.42 KB, patch)
2014-07-17 18:28 PDT, Enrica Casucci
no flags
Enrica Casucci
Comment 1 2014-07-17 18:28:09 PDT
Enrica Casucci
Comment 2 2014-07-17 18:58:20 PDT
After discussing this with Ben, we agreed that this is not the right thing to do here.
Enrica Casucci
Comment 3 2014-07-17 18:58:54 PDT
After discussing this with Ben, we agreed that this is not the right thing to do here.
Benjamin Poulain
Comment 4 2014-07-17 19:08:35 PDT
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.
Note You need to log in before you can comment on or make changes to this bug.