modify-style-element-in-disconnected-shadow-crash.html (489B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Modifying a style element in a disconnected shadow tree should not crash</title> 5 <link rel="help" href="https://github.com/servo/servo/issues/37781"> 6 </head> 7 <body> 8 <script> 9 let d = document.createElement('div'); 10 let s = d.attachShadow({mode: "open"}); 11 let s2 = document.createElement('style'); 12 s.appendChild(s2); 13 s2.textContent = "lol"; 14 </script> 15 </body> 16 </html>