blob: 86f141e0878e164fa896086a3d39490807b88762 [file] [log] [blame]
<!doctype html>
<meta charset="utf8">
<title>CSS contain-intrinsic-size: unsized div</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override">
<link rel="match" href="contain-intrinsic-size-001-ref.html">
<meta name="assert" content="contain-intrinsic-size is used to size the div as if it had a single child of this size">
<style>
#target {
background: lightblue;
contain-intrinsic-size: 111px 222px;
contain: size;
}
</style>
<div id=target></div>