Issue 577222 in chromium: text-overflow:ellipsis does not work for monospace font

62 views
Skip to first unread message

chro...@googlecode.com

unread,
Jan 13, 2016, 11:51:28 AM1/13/16
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Cr-Blink Pri-2 Via-Wizard Type-Bug OS-Linux

New issue 577222 by cmckin...@google.com: text-overflow:ellipsis does not
work for monospace font
https://code.google.com/p/chromium/issues/detail?id=577222

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

Example URL:

Steps to reproduce the problem:
1. Create an html document with this content:

<div style='max-width: 175px;overflow: hidden;text-overflow:
ellipsis;white-space: nowrap;font-family: monospace;'>
adl flsa jflksajdf oiausidfaldsk jfouewaifef90w09 alkdsjfaewsufsad fasldf
0aud foisaldfk
</div>

2. Open the html document in your Chrome browser

What is the expected behavior?
It should show:

adl flsa jflksajdf oiausidf...

What went wrong?
It shows:

adl flsa jflksajdf oiausidf.

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: 47.0.2526.106 Channel: stable
OS Version: Ubuntu 14.04 LTS
Flash Version: Shockwave Flash 20.0 r0

One way to see the expected behavior in action is to try the reproduction
steps using the Firefox browser.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Jan 13, 2016, 6:34:07 PM1/13/16
to chromi...@chromium.org
Updates:
Status: Untriaged
Labels: -Cr-Blink Cr-Blink-CSS Needs-Feedback

Comment #1 on issue 577222 by rt...@chromium.org: text-overflow:ellipsis
Pasting the test html into jsfiddle.net produces an output with ellipses
for me.

chro...@googlecode.com

unread,
Jan 25, 2016, 7:16:35 AM1/25/16
to chromi...@chromium.org

Comment #2 on issue 577222 by ru...@opera.com: text-overflow:ellipsis does
WFM in content_shell on current master as well.

chro...@googlecode.com

unread,
Jan 26, 2016, 2:51:21 AM1/26/16
to chromi...@chromium.org
Updates:
Status: Unconfirmed

Comment #3 on issue 577222 by dstoc...@chromium.org:
text-overflow:ellipsis does not work for monospace font
https://code.google.com/p/chromium/issues/detail?id=577222

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages