| <!DOCTYPE html> |
| <style> |
| .float { |
| float: left; |
| } |
| html, body, #container { |
| overflow-x: scroll; |
| width: 32%; |
| writing-mode: vertical-rl; |
| } |
| </style> |
| <div id="container"> |
| <span id="span">r</span><div class="float">a </div>0 <span></span><div class="float">a</div> |
| </div> |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| document.body.offsetTop; |
| var span = document.getElementById('span'); |
| span.removeChild(span.childNodes[0]); |
| </script> |
| <p>crbug.com/557068: Update float index when we encounter clean float at the end of a line. Shouldn't assert.</p> |