<style>
foreignObject { padding-right: 100px; }
div { width: 16mm; overflow: -webkit-paged-x; }
</style>
This test confirms that a complex line layout with no root box does not fail.  Test passes if WebKit does not crash.  PASS
<svg writing-mode="tb"><foreignObject><div></foreignObject></svg>
<svg style="orphans: 1;"><foreignObject x="10"><br id=br><br></foreignObject></svg>
<span id=container></span>
<script>
document.body.offsetWidth;
container.appendChild(br);
if (window.testRunner)
    testRunner.dumpAsText();
</script>
