New issue
Advanced search Search tips

Issue 627785 link

Starred by 2 users

Issue metadata

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

Blocking:
issue 404150



Sign in to add a comment

Ellipsis appears spuriously when using non-Latin characters

Reported by jakub.mi...@economia.cz, Jul 13 2016

Issue description

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

Example URL:
https://jsfiddle.net/o1x8owre/1/

Steps to reproduce the problem:
1. Use Roboto from Google Fonts

We are using Roboto latin and latin-ext at font weight 700 from Google Fonts.

2. Combine just the right CSS

Using latin-ext inside a block-level element with textContent:

<p>Pohádkový příběh Velšanů nekončí, dnes vyřadili Belgii a o finále vyzvou Portugalce</p>

and CSS styling:

p {
    font-family: Roboto;
    font-size: 24px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 242px;
}

3. Chrome outputs ellipsis in the middle of the element

Using only latin characters, we cannot reproduce this.

What is the expected behavior?
I would expect Chrome to break the line, not insert ellipsis.

What went wrong?
There is an ellipsis on the second line out of five.

Example:

https://jsfiddle.net/o1x8owre/1/

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 51.0.2704.106  Channel: stable
OS Version: Xubuntu
Flash Version: Shockwave Flash 22.0 r0
 
Components: -Blink Blink>Layout
Labels: OS-Mac
Status: Untriaged (was: Unconfirmed)
Confirmed on Mac, too. Something weird going on with line breaking. Handing over to the layout folks.
Summary: Ellipsis appears spuriously when using non-Latin characters (was: Text overflow ellipsis show ellipsis in the middle)
BTW, the ellipsis in the middle isn't the issue. That would be the correct ellipsis behavior for long lines (see here: https://jsfiddle.net/o1x8owre/2/).

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

Blocking: 404150
Labels: -OS-Linux OS-All
Status: Available (was: Untriaged)
Ellipsis is super broken and has never really worked right. The plan is to tackle it as a part of the line layout portion of LayoutNG.

Project Member

Comment 4 by sheriffbot@chromium.org, Jul 14 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by e...@chromium.org, Jul 17 2017

Status: WontFix (was: Untriaged)
Will be fixed as a part of LayoutNG. 

Sign in to add a comment