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

.container {
    width: 100px;
    height: 50px;
    background-color: blue;
}
</style>
<div class=container><div class=center style="left: 25px"></div></div>
<div class=container><div class=center style="left: 50px;"></div></div>
<div class=container><div class=center></div></div>
<div class=container><div class=center style="left: 25px"></div></div>
