wpt / css / css-overflow / line-clamp / line-clamp-auto-001-crash.html

Status: PASS | Duration: 2ms | Subtests: 1/1 | Open test on wpt.live | wpt.fyi

/css/css-overflow/line-clamp/line-clamp-auto-001-crash.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Overflow: `line-clamp: auto` unresolved BFC offset crash</title>
<link rel="author" title="Andreu Botella" href="mailto:abotella@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-overflow-4/#line-clamp">

<style>
.clamp {
  line-clamp: auto;
  max-height: 1.5lh;
}
</style>

<div class="clamp">
  Line 1
  <div>
    <div></div>
  </div>
  Line 2
</div>