[Webkit-unassigned] [Bug 161880] New: 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.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 12 15:56:31 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=161880

            Bug ID: 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.
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: iOS
                OS: iOS 9.3
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gchatz at chromium.org

Created attachment 288628
  --> https://bugs.webkit.org/attachment.cgi?id=288628&action=review
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160912/cff430f8/attachment.html>


More information about the webkit-unassigned mailing list