<!DOCTYPE html>
<style>
*{clear:right;border-style:inherit;}
.float{float:left;}
</style>
<div class="float">
<ruby>
</ruby>
<ruby>
</ruby>
</div>
<div id="test-output">
crbug.com/479562: self-collapsing blocks getting layout set
</div>
<hr data-expected-height=0>
<script src="../../../resources/check-layout.js"></script>
<script type="text/javascript">
window.checkLayout("hr", document.getElementById("test-output"));
</script>