<!DOCTYPE html> | |
<style> | |
.block { | |
position: absolute; | |
left:100px; | |
top:0; | |
width: 100px; | |
height: 100px; | |
background-color: green; | |
} | |
.relative-inline { | |
position:relative; | |
display: inline; | |
} | |
</style> | |
<p>crbug.com/517369: There should be no red. </p> | |
<div style="position: relative;"> | |
<span class="relative-inline"> | |
<div> | |
<span class="relative-inline"> | |
<div class="block" id="inner"></div> | |
</span> | |
</div> | |
</span> | |
</div> | |