WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
12991
text-overflow should not require white-space:nowrap to work
https://bugs.webkit.org/show_bug.cgi?id=12991
Summary
text-overflow should not require white-space:nowrap to work
Adele Peterson
Reported
2007-03-06 18:17:10 PST
text-overflow should not require white-space:nowrap or white-space:pre to work. We'd like this to work in a multiline case. In this example, we should be able to wrap, and also add ellipsis instead of partially displaying the last line. <style> div { width: 100px; height: 40px; text-overflow: ellipsis; overflow: hidden; border: solid thin black; } </style> <div>test 12345678910 1112131415</div> <
rdar://problem/5044726
> text-overflow should not require white-space:nowrap to work
Attachments
Test case
(166 bytes, text/html)
2016-02-11 14:31 PST
,
David Kilzer (:ddkilzer)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2016-02-11 14:31:08 PST
Created
attachment 271089
[details]
Test case
Ahmad Saleem
Comment 2
2022-12-09 04:53:58 PST
I am am able to reproduce this bug in Safari 16.1 and STP159 and last line just show top edges of the digits while other browsers (Chrome Canary 110 and Firefox Nightly 109) does not show any partial top edges of digits. Just wanted to share updated testing results. Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug