chromium/third_party/blink/web_tests/external/wpt/css/css-overflow/line-clamp/line-clamp-auto-034.tentative.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Overflow: `line-clamp: auto` clamp between IFCs</title>
<link rel="author" title="Andreu Botella" href="mailto:[email protected]">
<link rel="help" href="https://drafts.csswg.org/css-overflow-4/#line-clamp">
<link rel="match" href="reference/line-clamp-auto-034-ref.html">
<meta name="assert" content="With `line-clamp: auto`, there can be a clamp point between two IFCs. In that case, no line will have an ellipsis.">
<style>
.clamp {
  line-clamp: auto;
  max-height: 6lh;
  font: 16px / 32px serif;
  white-space: pre;
  padding: 0 4px;
  background-color: yellow;
}
.ifc {
  display: flow-root;
  background-color: orange;
}
.red {
  display: flow-root;
  background-color: red;
}
</style>

<div class="clamp">Line 1
Line 2
Line 3
Line 4
<div class="ifc">Line 5
Line 6</div><div class="ifc red">Line 7
Line 8</div>Line 9</div>