Bug 12991 - text-overflow should not require white-space:nowrap to work
Summary: text-overflow should not require white-space:nowrap to work
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 523.x (Safari 3)
Hardware: Macintosh OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-03-06 18:17 PST by Adele Peterson
Modified: 2016-02-11 14:31 PST (History)
4 users (show)

See Also:


Attachments
Test case (166 bytes, text/html)
2016-02-11 14:31 PST, David Kilzer (:ddkilzer)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adele Peterson 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
Comment 1 David Kilzer (:ddkilzer) 2016-02-11 14:31:08 PST
Created attachment 271089 [details]
Test case