Bug 175046

Summary: WKPDFView doesn't respect safe area insets
Product: WebKit Reporter: Tim Horton <thorton>
Component: New BugsAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, simon.fraser, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch wenson_hsieh: review+

Tim Horton
Reported 2017-08-01 14:38:36 PDT
WKPDFView doesn't respect safe area insets
Attachments
Patch (11.35 KB, patch)
2017-08-01 14:38 PDT, Tim Horton
no flags
Patch (11.87 KB, patch)
2017-08-01 14:54 PDT, Tim Horton
wenson_hsieh: review+
Tim Horton
Comment 1 2017-08-01 14:38:57 PDT
Tim Horton
Comment 2 2017-08-01 14:39:12 PDT
Tim Horton
Comment 3 2017-08-01 14:54:51 PDT
Tim Horton
Comment 4 2017-08-02 10:51:51 PDT
Wenson Hsieh
Comment 5 2017-08-02 10:57:56 PDT
Comment on attachment 316899 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=316899&action=review A minor follow-up question: > Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:1271 > + [self _didChangeAvoidsUnsafeArea:NO]; I assume it's OK to call this, even though WebPageProxy's m_avoidsUnsafeArea may not have actually changed? > Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:1286 > + [self _didChangeAvoidsUnsafeArea:_page->avoidsUnsafeArea()]; Ditto.
Tim Horton
Comment 6 2017-08-02 11:10:19 PDT
Yes, it's fine, just a little extra work. And we're already swapping out the content view, so it's not significant in the grand scheme of things.
Note You need to log in before you can comment on or make changes to this bug.