[Webkit-unassigned] [Bug 198291] New: Zoom affects maximum element size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 28 03:49:29 PDT 2019


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

            Bug ID: 198291
           Summary: Zoom affects maximum element size
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: andyearnshaw at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 370724

  --> https://bugs.webkit.org/attachment.cgi?id=370724&action=review

Repro case (ResizeObserver support required to view)

Steps to reproduce the problem:

  1. Create a div at height 33554428px
  2. Zoom in
  3. Observe the change in div height

As the zoom level increases, the height of the div decreases. This behaviour is not observed in Firefox or EdgeHTML.

The impact it has is on virtual scrolling solutions where the total scrollable area is greater than the maximum permitted element height. In this situation, we apply a multiplier to the scroll position to get the virtual scroll position. Chrome and Safari's behaviour means that we need to observe resizes of an element at maximum height/width so we can adjust our scaling accordingly (see 195158 for more info on that).

-- 
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/20190528/211e568c/attachment.html>


More information about the webkit-unassigned mailing list