<!DOCTYPE html> | |
<style> | |
#old-container { | |
position: relative; | |
} | |
#positioned-child { | |
position: absolute; | |
} | |
#descendant-needing-layout { | |
display: none; | |
width: 100px; | |
height: 100px; | |
background-color: green; | |
} | |
</style> | |
This test verifies adding transform to a block correctly update container status. | |
<div style="width:100px; height:100px; background-color:green;"> | |
</div> |