[Webkit-unassigned] [Bug 253540] New: REGRESSION Zooming font-size with viewport units

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 7 15:32:51 PST 2023


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

            Bug ID: 253540
           Summary: REGRESSION Zooming font-size with viewport units
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nick at nicksherman.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 465346

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

Screenshot comparing the result of zooming in different browsers

Recent versions of Safari seem to have changed/broken how zooming affects type sized with viewport units (perhaps when used in combination with `calc()` and/or custom properties?).

I noticed the bug when viewing the home page for last year’s Typographics website:
https://2022.typographics.com

In previous versions of Safari, zooming the homepage changed the size of the body type but retained the large type’s size relationship with the viewport – similar to how it works in Chrome and Firefox. Unfortunately I don't know which version of Safari was the one where the bug first appeared, but it is presumably a recent release, since I don't recall seeing this bug when testing page zooming on that same page last year, and the code hasn't changed since then.

If it's helpful, I'm attaching a screenshot showing the homepage zoomed to similar levels in Chrome v110.0.5481.177 on the left, Firefox v110.0.1 in the middle, and Safari v16.3 (18614.4.6.1.6) on the right, all running in macOS Ventura 13.2.1 (22D68).

-- 
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/20230307/2317e9b4/attachment.htm>


More information about the webkit-unassigned mailing list