Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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:vmpstr@chromium.org">
<link rel="match" href="contain-intrinsic-size-006-ref.html">
<meta name="assert" content="content dimensions are ignored if intrinsic-size is specified">
<style>
#target {
background: lightblue;
contain-intrinsic-size: 5px 6px;
contain: size;
}
</style>
<div id=target>Lorem ipsum</div>