blob: 5f00298d6cc1af15296af8de0e00068fedef3656 [file] [log] [blame]
<!-- webkit-test-runner [ internal:LayoutFormattingContextEnabled=true internal:LayoutFormattingContextIntegrationEnabled=false ] -->
<style>
.container {
border: 5px solid green;
height: 100px;
width: 100px;
position: relative;
}
div div {
background: blue;
position: absolute;
height: 50px;
width: 50px;
top: 10px;
bottom: 10px;
}
</style>
<div class=container><div style="margin-top: auto;"></div></div>
<div class=container><div style="margin-bottom: auto;"></div></div>
<div class=container><div style="margin-top: auto; margin-bottom: auto;"></div></div>