summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/372550-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/372550-1.html')
-rw-r--r--layout/base/crashtests/372550-1.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/base/crashtests/372550-1.html b/layout/base/crashtests/372550-1.html
new file mode 100644
index 000000000..a1dd8ea5b
--- /dev/null
+++ b/layout/base/crashtests/372550-1.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ div#x::first-letter { color: blue; }
+ </style>
+</head>
+<body>
+<div id="x">x</div>
+<script>
+ document.body.offsetWidth;
+ var div = document.getElementById("x");
+ div.id = "y";
+ div.removeChild(div.firstChild);
+</script>
+</body>
+</html>