<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] --> | |
<style> | |
.absolute { | |
position: absolute; | |
left: 8px; | |
top: 8px; | |
width: 100px; | |
height: 100px; | |
background-color: green; | |
} | |
div { | |
color: green; | |
} | |
</style> | |
<div>text content<div class=absolute></div></div> |