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