summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/1308848-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/1308848-1.html')
-rw-r--r--layout/base/crashtests/1308848-1.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/base/crashtests/1308848-1.html b/layout/base/crashtests/1308848-1.html
new file mode 100644
index 000000000..894eb448a
--- /dev/null
+++ b/layout/base/crashtests/1308848-1.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+<table><tbody></tbody><tfoot></tfoot></table>
+<script>
+ document.body.offsetTop;
+ let parent = document.querySelector("table");
+ let comment = document.createComment("hello");
+ let footer = document.querySelector("tfoot");
+ parent.insertBefore(comment, footer);
+</script>