blob: bd59969614490c95742b2fcc4ac7931fe3ea334a [file] [log] [blame]
<!DOCTYPE html>
<!--
| When the "text-overflow" property is set to "clip" overflowing
| inline content is clipped and not ellipsed. The content should be
| aligned to the start edge of the line.
| https://www.w3.org/TR/css3-ui/#propdef-text-overflow
-->
<html>
<head>
<meta charset="utf-8">
<style>
body {
margin: 0px;
font-family: Roboto;
font-size: 20px;
}
.containing-block {
white-space: nowrap;
width: 200px;
overflow: hidden;
text-overflow: clip;
border: 1px solid #000000;
}
</style>
</head>
<body>
<div class="containing-block">
<div dir="ltr">This is some long text that will not fit in the box</div>
<div dir="ltr"><span>This is some long text that will not fit in the box</span></div>
<div dir="rtl">This is some long text that will not fit in the box</div>
<div dir="rtl"><span>This is some long text that will not fit in the box</span></div>
</div>
</body>
</html>