[Webkit-unassigned] [Bug 272351] New: css zoom doesn't zoom font-size in wide divs.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 8 14:08:55 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=272351
Bug ID: 272351
Summary: css zoom doesn't zoom font-size in wide divs.
Product: WebKit
Version: Safari 17
Hardware: iPhone / iPad
OS: iOS 17
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mikelehen at gmail.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 470821
--> https://bugs.webkit.org/attachment.cgi?id=470821&action=review
Test case HTML
See attached test case or live URL: https://mikelehen.github.io/public-web/tmp/safari-zoom-2.html
When there's a CSS zoom applied to a wide div (or table, etc.), the font-size is not getting zoomed but other properties like line-height are, resulting in non-zoomed, overlapping text. See repro and screenshot.
Notes:
1. Works correctly in Desktop Safari and Chrome.
2. Per comment in test case, setting `-webkit-text-size-adjust: none;` fixes this case but causes other zoom issues. See https://bugs.webkit.org/show_bug.cgi?id=272339
--
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/20240408/e2d70a33/attachment.htm>
More information about the webkit-unassigned
mailing list