blob: 967c72a3c998d61b4f014e1ff2014e048e204fd3 [file] [log] [blame]
<!DOCTYPE html>
<style>
.container {
float: right;
}
.inline {
margin-left: 50%;
}
</style>
<p>crbug.com/598711: Compute percent margin on inlines inside shrink-to-fit containers.</p>
<div class="container">
<span id="span" class="inline">Text</span>
</div>
<script>
document.body.offsetTop;
document.getElementById("span").style.outline = "1px solid red";
</script>