2 * { display: table-caption }
3 body { display: contents }
7 // For emulating the traditional behavior, collapse Selection to end of the
8 // text node in the <th> which is the deepest last child of the <body>.
9 const th
= document
.querySelector("th");
10 getSelection().collapse(th
.lastChild
, th
.lastChild
.length
);
11 document
.execCommand("enableInlineTableEditing");
14 <body onload=
"onLoad()">
15 <table contenteditable
>