<style> | |
body { | |
direction: rtl; | |
} | |
.outer { | |
height: 500px; | |
overflow: auto; | |
background: red; | |
} | |
.inner { | |
height: 1000px; | |
margin-right: auto; | |
background: green; | |
} | |
</style> | |
<div class="outer"> | |
<div class="inner"> | |
</div> | |
</div> | |
<p>crbug.com/541574: Calculate the correct left offset for children in an rtl context. There should be no red.</p> |