<!DOCTYPE html><!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=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>