| Summary: | iOS WK2: visibleBounds should return the unobscured content rect | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Enrica Casucci <enrica> | ||||
| Component: | WebKit2 | Assignee: | Enrica Casucci <enrica> | ||||
| Status: | RESOLVED WONTFIX | ||||||
| Severity: | Normal | Keywords: | InRadar | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | iPhone / iPad | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Enrica Casucci
2014-07-17 18:25:20 PDT
Created attachment 235106 [details]
Patch
After discussing this with Ben, we agreed that this is not the right thing to do here. 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. |