Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<meta charset="utf8">
<title>CSS contain-intrinsic-size: replaced content (min-content)</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<link rel="match" href="contain-intrinsic-size-020-ref.html">
<meta name="assert" content="replaced content is sized to intrinsic-width when width is min-content">
<style>
#target {
contain-intrinsic-size: 100px 200px;
contain: size;
inline-size: min-content;
block-size: auto;
}
</style>
<img id=target src="resources/dice.png"></img>