Same-height elements are not same height when browser is zoomed
Reported by
rspi...@cormant.biz,
Apr 4 2018
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 Steps to reproduce the problem: 1. Open attached test case 2. Zoom out to 90% What is the expected behavior? Black and red boxes should remain the same height. What went wrong? The red box is shorter than the black box. Did this work before? N/A Does this work in other browsers? No I can also reproduce the issue in Edge, but only when running the test case in CodePen. Chrome version: 65.0.3325.181 Channel: stable OS Version: 10.0 Flash Version:
,
Apr 10 2018
Thanks for filing the issue! Able to reproduce the issue on reported chrome version 65.0.3325.181 and on the latest version 67.0.3393.0 using Windows 10, Ubuntu 14.04 and Mac 10.13.1. As the issue is seen from M60(60.0.3112.0) considering it as Non-Regression and marking it as Untriaged. Requesting someone from Blink>Layout team to have a look into this.
,
Apr 11 2018
While perhaps a bit surprising this behavior is intentional. Each elements height is adjusted to map to physical device pixels to avoid blurry rendering. See https://trac.webkit.org/wiki/LayoutUnit for details.
,
Apr 11 2018
Intentional or not, this behavior is incorrect. |
|||
►
Sign in to add a comment |
|||
Comment 1 by viswa.karala@chromium.org
, Apr 5 2018