blob: da8744d93bef81094882060ba491a4f53deb1823 [file] [log] [blame]
<!DOCTYPE html>
<html>
<!--
| Overflow hidden applied to elements with 'display' set to 'inline'.
| https://www.w3.org/TR/CSS21/visufx.html
-->
<head>
<style>
body {
font-family: Roboto;
font-size: 16px;
}
#parent {
overflow: hidden;
width: 430px;
height: 20px;
}
.inline {
display: inline;
color: #00CC00;
}
</style>
</head>
<body>
<div id="parent">
<div class="inline">
<span> Overflow applied to elements with 'display' set to 'inline'. </span>
<span> This sentence would be cut somewhere. </span>
</div>
</div>
</body>
</html>