New issue
Advanced search Search tips

Issue 833393 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Width calculation is wrong for some fonts when text-rendering: optimizeLegibility

Reported by pasi.tuo...@smartly.io, Apr 16 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

Steps to reproduce the problem:
1. Open the attached file
2. Observe the overflow of the text

What is the expected behavior?
The text should fit inside the green borders

What went wrong?
The text does not fit inside. Removing "text-rendering: optimizeLegibility;" will make the text fit.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 65.0.3325.181  Channel: stable
OS Version: 
Flash Version: 

In the example "width: fit-content;" is used. The same happens also with "display: flex; justify-content: flex-start;"

I only tested that this problem does not happen with firefox 59.
 
textRenderBug.html
555 bytes View Download
Labels: Needs-Triage-M65
Labels: M-68 Triaged-ET FoundIn-68 Target-68 OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on reported version 65.0.3325.181 and latest canary 68.0.3397.0 using Windows 10, Mac 10.13.1 and Ubuntu 14.04. As this issue is seen from M-60(60.0.3112.0). Hence considering this issue as Non-Regression and marking as Untriaged.

Thanks!

Comment 3 by e...@chromium.org, Apr 23 2018

Cc: drott@chromium.org e...@chromium.org
Status: Available (was: Untriaged)

Sign in to add a comment