blob: 49048e7ce1cb79d611f9c0c56e198e800c2533a8 [file] [log] [blame]
<div id="target" style="
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
-webkit-line-clamp: 2;
width: 100px;
">
<div>
Unless this sentence is truncated after two lines, PASS.
</div>
</div>
<script>
document.body.offsetTop;
target.style.removeProperty("-webkit-line-clamp");
</script>