input-form-detach-style-crash.html (407B)
1 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1800543"> 2 <script> 3 document.addEventListener('DOMContentLoaded', () => { 4 b.setCustomValidity("x") 5 a.reportValidity() 6 c.appendChild(a) 7 document.adoptNode(d) 8 document.documentElement.style.display = 'none' 9 }) 10 </script> 11 <form id="a"> 12 <textarea id="b">a</textarea> 13 </form> 14 <dl id="d"> 15 <canvas id="c"></canvas> 16 </dl> 17 <input form="a">