insertHTML-after-subscript-canvas-containing-textarea.html (440B)
1 <!doctype html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <script> 6 "use strict"; 7 8 document.addEventListener("DOMContentLoaded", () => { 9 document.designMode = "on"; 10 document.execCommand("selectAll"); 11 document.execCommand("subscript"); 12 document.execCommand("insertHTML"); 13 }, {once: true}); 14 </script> 15 </head> 16 <body> 17 <time dir="auto"> 18 A 19 <canvas> 20 <textarea dir="rtl"> 21 </textarea> 22 </canvas> 23 </time> 24 </body> 25 </html>