haikuwebkit/LayoutTests/fast/layoutformattingcontext/table-quirk-vertical-margin...

18 lines
390 B
HTML

<!DOCTYPE html><!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] -->
<style>
.first {
width: 100px;
height: 200px;
background-color: green;
}
.second {
width: 100px;
height: 60px;
background-color: blue;
position: relative;
top: -80px;
}
</style>
<div class=first></div>
<div class=second></div>