New issue
Advanced search Search tips

Issue 740144 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

word-wrap:break-word with odd Unicode characters causes long layout

Reported by nolan.la...@gmail.com, Jul 7 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0

Steps to reproduce the problem:
1. Go to http://bl.ocks.org/nolanlawson/raw/6d057af39e84637cbe0e9a683a7f9a7b/
2. Note that it takes upwards of 30s to load in Chrome compared to <1s for other browsers (Firefox, Safari, Edge)

What is the expected behavior?
It should run Layout in roughly the same time as other browsers

What went wrong?
It takes >30s to load and can even show the "Page Unresponsive" modal at times.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 59.0.3071.115 (Official Build) (64-bit)  Channel: stable
OS Version: OS X 10.12
Flash Version: Shockwave Flash 26.0 r0
 
index.html
2.0 KB View Download
Labels: Needs-Triage-M59
Labels: M-61
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue using #59.0.3071.115 on Mac 10.12.5 Observed the slowness on page loading.

Observing the same behavior since M45. Hence considering this issue as Non-Regression issue and Untriaged to get more inputs from dev.

Note:
1. Issue is seen in M61 as well.
2. Issue is not seen in Windows and Linux.

Thanks!!

Comment 3 by e...@chromium.org, Jul 11 2017

Status: WontFix (was: Untriaged)
This is due to a combination of font with expensive font features and the way chrome shapes text. Disabling kerning and ligatures (which is on by defualt in Chrome) would fix it as would switching to another font.

It'll be addressed for real with LayoutNG (issue 591099) but that is about a year out. Until then there isn't much we can do from the the chrome side but as explained above there are a number of workarounds.

Sign in to add a comment