url-syntax-crash.html (428B)
1 <!doctype html> 2 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1935471"> 3 <style> 4 @property --my-url { 5 syntax: "<url> | none"; 6 inherits: true; 7 initial-value: none; 8 } 9 :root { 10 --my-url: url(blah); 11 } 12 13 * { 14 --foo: var(--my-url); 15 } 16 </style> 17 <body> 18 <script> 19 // Get some styling off-thread. 20 for (let i = 0; i < 10000; ++i) { 21 document.body.appendChild(document.createElement("span")); 22 } 23 </script>