New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 625735 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Unexpected line break with Ubuntu font and whitespace

Project Member Reported by richardwa@google.com, Jul 5 2016

Issue description

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

Example URL:
http://codepen.io/anon/pen/bZRLgP

Steps to reproduce the problem:
1. Apply the Ubuntu font to an element with the text "raspberry", at any font weight and size
2. Apply text-transform: uppercase; word-break: break-word; display: inline-block;
3. Add any whitespace (e.g. spaces, newlines) between the opening/closing tags

What is the expected behavior?
The text is displayed as "RASPBERRY" on one line, without line breaking

What went wrong?
The text displays as "RASPBERR
Y"

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 52.0.2743.60  Channel: beta
OS Version: 3.13.0-87-generic #133-Ubuntu SMP Tue May 24 18:32:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Flash Version: Shockwave Flash 22.0 r0

Can't reproduce in Chrome stable 51.0.2704.106.
Can't reproduce in Firefox stable 47.0.
 
Project Member

Comment 1 by sheriffbot@chromium.org, Jul 5 2016

Labels: Hotlist-Google
Cc: le...@chromium.org rnimmagadda@chromium.org
Components: Blink>Fonts
Labels: -Type-Compat M-52 OS-Mac OS-Windows Type-Bug-Regression
Owner: e...@chromium.org
Status: Assigned (was: Unconfirmed)
====================================

Good Build:

49.0.2567.0    Base Position: 360248


Bad Build:

49.0.2590.0    Base Position: 364940

=====================================

Able to repro this issue on Windows 7, MAC (10.11.5) & Ubuntu Trusty (14.04) for the Google Chrome Stable Version - 51.0.2704.106

This is a regression issue broken in M49, below mentioned is the bisect info:

CHANGELOG URL: https://chromium.googlesource.com/chromium/src/+log/20f3b2d0ee459ed4d743ce9cd8c95417d74f6d04..fa7fc32c5940dfd3d734ed3231b1295da4c3303e

Suspecting Commit: fa7fc32c5940dfd3d734ed3231b1295da4c3303e

Review URL: https://codereview.chromium.org/1474673003

@eae: Could you please look into the issue, and if it has nothing to do with your changes and if possible please do assign it to the concerned owner.

Thank you.

Comment 3 by e...@chromium.org, Jul 15 2016

Cc: -le...@chromium.org drott@chromium.org e...@chromium.org
Labels: -OS-Linux -OS-Windows -OS-Mac OS-All
Owner: ----
Status: Available (was: Assigned)
Appears to be a problem with text-transform: uppercase not reserving enough space for the text.

Comment 4 by e...@chromium.org, Mar 7 2017

Status: Fixed (was: Available)

Sign in to add a comment