6 addEventListener('DOMContentLoaded', () => {
7 // For emulating the traditional behavior, collapse Selection to end of the
8 // text node at end of the <body>.
9 getSelection().collapse(
10 document
.body
.lastChild
,
11 document
.body
.lastChild
.length
13 document
.documentElement
.className
= 'lizard';
15 document
.execCommand('selectAll');
16 document
.designMode
= 'on';
17 document
.execCommand('removeformat');
23 -webkit-user-select: all;
27 display: table-column;
33 <span contenteditable
>
34 <span class=lizard
></span>
35 <span class=lizard
></span>