Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-sizing/contain-intrinsic-size/contain-intrinsic-size-003.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf8">
<title>CSS contain-intrinsic-size: width specified</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<link rel="match" href="contain-intrinsic-size-003-ref.html">
<meta name="assert" content="contain-intrinsic-size's width is ignored if width is specified">
<style>
#target {
background: lightblue;
contain-intrinsic-size: 111px 222px;
contain: size;
width: 50px;
}
</style>
<div id=target></div>