blob: 992f9a0ab77383b13c8d13fc766b360bd6752e2c [file] [log] [blame]
<!DOCTYPE html>
| When the "text-overflow" property is set to "ellipsis" an ellipsis
| character is rendered to represent clipped inline content.
| "Place the ellipsis... immediately adjacent to the applicable
| edge(s) of the remaining inline content."
<meta charset="utf-8">
body {
margin: 0px;
font-family: Roboto;
font-size: 20px;
#div1 {
white-space: nowrap;
width: 180px;
overflow: hidden;
text-overflow: ellipsis;
border: 1px solid #000000;
span {
background-color: #888888;
width: 80px;
margin: 200px;
<div dir="ltr" id="div1">interesting <span>test</span></div>
<div dir="rtl" id="div1"><span>test</span> interesting</div>