summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-variables/long-variable-reference-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-variables/long-variable-reference-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-variables/long-variable-reference-crash.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-variables/long-variable-reference-crash.html b/testing/web-platform/tests/css/css-variables/long-variable-reference-crash.html
new file mode 100644
index 0000000000..d2e36d3c46
--- /dev/null
+++ b/testing/web-platform/tests/css/css-variables/long-variable-reference-crash.html
@@ -0,0 +1,8 @@
+<!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">
+<link rel="help" href="https://crbug.com/1429823">
+<style id="x"></style>
+<script>
+x.textContent = '* { border: ' + 'a'.repeat(2097152) + ' var(--b); }';
+</script>