[Webkit-unassigned] [Bug 184694] New: document.body.scrollHeight is different after resizing the window down and up

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 17 08:19:02 PDT 2018


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

            Bug ID: 184694
           Summary: document.body.scrollHeight is different after resizing
                    the window down and up
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Major
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tobi at tobireif.com
                CC: cdumez at apple.com

In a full-size window load https://tobireif.com/demos/ .
Note that the page is short.
Resize the window to be narrow, and back.
Note that the same page at the same full width as before now is much longer than before.
The issue does not occur in Chrome, Firefox, and Opera.

The related code probably is "function setCanvasSize()" -> "document.body.scrollHeight".

I hope you can ensure that it will work as in Chrome & Firefox & Opera where the reported height is the same after downsize-upsize.

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


More information about the webkit-unassigned mailing list