summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1223688-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/1223688-1.html')
-rw-r--r--layout/style/crashtests/1223688-1.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/style/crashtests/1223688-1.html b/layout/style/crashtests/1223688-1.html
new file mode 100644
index 000000000..70f9d8579
--- /dev/null
+++ b/layout/style/crashtests/1223688-1.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<script>
+
+function boom() {
+ CSS.supports('');
+
+ var style = document.createElement("style");
+ var tn = document.createTextNode("* { border: var(--b); }");
+ style.appendChild(tn);
+ document.body.appendChild(style);
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>