summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1315889-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/1315889-1.html')
-rw-r--r--layout/style/crashtests/1315889-1.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/style/crashtests/1315889-1.html b/layout/style/crashtests/1315889-1.html
new file mode 100644
index 000000000..29186fac1
--- /dev/null
+++ b/layout/style/crashtests/1315889-1.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<style>
+.x { color: blue; }
+</style>
+<div class=x>hello</div>
+<script>
+document.body.offsetWidth;
+var x = document.querySelector(".x");
+x.className = "";
+x.remove();
+document.body.offsetWidth;
+</script>