<!DOCTYPE html>
<div id="test"><output><br><output>foo<br>bar<output>baz</output></output></output><br></div>
<div>Test passes if there are no asserts in debug builds.</div>
<script>
if (window.testRunner)
	testRunner.dumpAsText();
var div = document.getElementById("test");
div.offsetTop;
div.parentNode.removeChild(div);
</script>