Bug 161880

Summary: With a WKWebView's scroll view, a negative content offset y value is reset to 0 if the web view's frame height is increased.
Product: WebKit Reporter: gchatz
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: jonlee, simon.fraser
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: iOS 9.3   
Attachments:
Description Flags
Test app none

gchatz
Reported 2016-09-12 15:56:31 PDT
Created attachment 288628 [details] Test app Summary: With a WKWebView's scroll view, a negative content offset y value is reset to 0 if the web view's frame height is increased. Steps to Reproduce: 1. Set content offset of a WKWebView to a negative value. 2. Set the WKWebView's height to a bigger value. 3. Observe the new content offset of the web view. (See test app) Expected Results: The content offset should stay negative. Actual Results: The content offset is changed to 0. Version: Since at least iOS 9. Present in iOS 10. Configuration: iPhones and iPads
Attachments
Test app (27.61 KB, application/zip)
2016-09-12 15:56 PDT, gchatz
no flags
Note You need to log in before you can comment on or make changes to this bug.