<!DOCTYPE html><!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] -->
<style>
.first {
    width: 50px;
    height: 50px;
    background-color: blue;
}

.second {
    width: 50px;
    height: 50px;
    position: relative;
    left: 50px;
    top: -50px;
    background-color: green;
}
</style>
<div class=first></div>
<div class=second></div>