<!doctype html>
<meta charset="utf8">
<title>CSS contain-intrinsic-size: unsized div, intrinsic-size is small</title>
<link rel="author" title="Vladimir Levin" href="mailto:[email protected]">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override">
<style>
#target {
background: lightblue;
height: 6px;
contain: size;
}
</style>
<div id=target>Lorem ipsum</div>