1066089-1.html (596B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf8"> 5 <style> 6 @counter-style triangle { symbols: a; } 7 @counter-style disc { system: extends triangle; } 8 </style> 9 <script> 10 function crash() { 11 var styleNode = document.createElement("style"); 12 styleNode.textContent = 13 "@counter-style triangle { symbols: b; } " + 14 "@counter-style disc { system: extends triangle; } " + 15 "ul {}"; 16 document.getElementsByTagName("head")[0].appendChild(styleNode); 17 } 18 </script> 19 </head> 20 <body onload="crash()"> 21 <ul><li>Don't technically need any text here, but here's some anyway.