1693049.html (870B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <style> 5 6 * { 7 all: initial; 8 display: table-row-group !important 9 } 10 </style> 11 <script> 12 window.addEventListener('load', () => { 13 const mspace = document.getElementById('id_0') 14 const tfoot = document.createElement('tfoot') 15 const h5 = document.createElement('h5') 16 document.documentElement.appendChild(tfoot) 17 document.documentElement.appendChild(h5) 18 const range = new Range() 19 range.setStart(tfoot, NaN) 20 setTimeout(async () => selection.extend(h5, Nan), 107) 21 const selection = document.getSelection() 22 selection.addRange(range) 23 selection.modify('move', 'backward', 'character') 24 range.surroundContents(mspace) 25 }) 26 </script> 27 </head> 28 <mspace id='id_0'></mspace> 29 <input type='reset'> 30 </html>