Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-variables/long-variable-reference-crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>Very long properties with variable references should not crash</title>
<link rel="author" title="Steinar H. Gunderson" href="mailto:sesse@chromium.org">
<style id="x"></style>
<script>
x.textContent = '* { border: ' + 'a'.repeat(2097152) + ' var(--b); }';
</script>