summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/388715-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/388715-1.html')
-rw-r--r--layout/base/crashtests/388715-1.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/base/crashtests/388715-1.html b/layout/base/crashtests/388715-1.html
new file mode 100644
index 0000000000..be09591f8d
--- /dev/null
+++ b/layout/base/crashtests/388715-1.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+
+<style type="text/css">
+#div:first-letter { float: left; color: lightgreen; }
+</style>
+
+<script type="text/javascript">
+function boom()
+{
+ document.getElementById("div").className = "anything";
+}
+</script>
+</head>
+
+<body onload="boom()">
+
+<div id="div"><span style="color: magenta">Foo</span> bar</div>
+
+</body>
+</html>