blob: dad3436a8613814f210cdc1a19dea404721e320a [file] [log] [blame]
<!DOCTYPE html>
| When the "text-overflow" property is set to "ellipsis" an ellipsis
| character is rendered to represent clipped inline content.
| "The first character or atomic inline-level element on a line must
| be clipped rather than ellipsed," but additional characters will
| be ellipsed.
<meta charset="utf-8">
body {
margin: 0px;
font-family: Roboto;
font-size: 20px;
div {
white-space: nowrap;
width: 200px;
overflow: hidden;
text-overflow: ellipsis;
border: 1px solid #000000;
<div dir="ltr">Thisissomelongtextthatwillnotfitinthebox</div>
<div dir="ltr"><span>Thisissomelongtextthatwillnotfitinthebox</span></div>
<div dir="rtl">Thisissomelongtextthatwillnotfitinthebox</div>
<div dir="rtl"><span>Thisissomelongtextthatwillnotfitinthebox</span></div>