blob: ae949a88d110b49da1c8794e40e9057c337a6d55 [file] [log] [blame]
<style>
#text { white-space:pre-wrap; }
</style>
<div><span id=text></span></div>
<script>
text.textContent = "a\nb\n\nc\n";
text.offsetWidth;
text.firstChild.deleteData(3, 1);
</script>