make-parent-element-editable-after-making-focused-editing-host-non-editable.html (384B)
1 <html> 2 <head> 3 <script> 4 function boom() 5 { 6 document.getElementById("div").contentEditable = "true"; 7 document.getElementById("div").focus(); 8 document.getElementById("div").contentEditable = "false"; 9 10 document.getElementById("table").contentEditable = "true"; 11 } 12 </script> 13 </head> 14 15 <body onload="boom();"> 16 17 <table id="table"><td></td></table><div id="div"></div> 18 19 </body> 20 21 </html>