summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/397022-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/397022-1.html')
-rw-r--r--layout/style/crashtests/397022-1.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/style/crashtests/397022-1.html b/layout/style/crashtests/397022-1.html
new file mode 100644
index 0000000000..ececc3fa5f
--- /dev/null
+++ b/layout/style/crashtests/397022-1.html
@@ -0,0 +1,17 @@
+<html>
+<head>
+<style>
+
+div:before { content: counter(c); }
+
+.b:before { content: "x"; }
+
+</style>
+</head>
+
+<body onload="document.getElementById('v').setAttribute('class', 'b');">
+
+<div id="v"></div>
+
+</body>
+</html>