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 paint containment does not apply to non-atomic inline elements so they do not act as containing block for absolutely positioned descendants." name="assert">
<style>
div#correct-containing-block
{
background-color: red;
height:100px;
position: relative;
width:100px;
}
div#incorrect-containing-block
{
contain: paint;
display: inline;
}
div#abspos
{
background-color: green;
bottom:0;
height:100%;
position: absolute;
right:0;
width:100%;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.