18 lines
384 B
HTML
18 lines
384 B
HTML
<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] -->
|
|
<style>
|
|
.container {
|
|
position: relative;
|
|
height: 200px;
|
|
}
|
|
|
|
.child {
|
|
width: 100px;
|
|
height: 50%;
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
background-color: green;
|
|
}
|
|
</style>
|
|
<div class=container><div class=child><div></div></div></div>
|