blob: 19fedaef07db387fa53304ec5a3a5d0e1a9d7934 [file] [log] [blame]
If this doesn't crash, then the test passes.
<div id=foo>foo</div>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
var foo = document.getElementById('foo');
window.getSelection().selectAllChildren(foo);
foo.style.display = 'none';
window.getSelection().removeAllRanges();
</script>