blob: b04033ec2a8b14be03bc95b6295caf61379ec88b [file] [log] [blame]
<div style="white-space:pre">first
second</div>
<script>
window.getSelection().selectAllChildren(document.querySelector("div"));
</script>