You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<metacontent="This test checks that when laying out an inline replaced element with 'contain: size', the inline replaced element must be treated as having an intrinsic width and height of 0." name="assert">
<style>
img#blue-test
{
background-color: blue;
contain: size;
padding:50px;
}
</style>
<p>This test passes if the painted blue area is <strong>exactly as tall as</strong> the orange square.
<div><imgid="blue-test" src="support/blue-100x100.png" alt="Image download support must be enabled"><imgid="orange-reference" src="support/swatch-orange.png" width="100" height="100" alt="Image download support must be enabled"></div>