summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-cascade/tons-of-declarations-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-cascade/tons-of-declarations-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-cascade/tons-of-declarations-crash.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-cascade/tons-of-declarations-crash.html b/testing/web-platform/tests/css/css-cascade/tons-of-declarations-crash.html
new file mode 100644
index 0000000000..50a32c1938
--- /dev/null
+++ b/testing/web-platform/tests/css/css-cascade/tons-of-declarations-crash.html
@@ -0,0 +1,6 @@
+<!doctype html>
+<style></style>
+<script>
+document.querySelector('style').innerText = `input { border: 1px solid }`.repeat(2 << 16);
+</script>
+<input>