summaryrefslogtreecommitdiffstats
path: root/dom/xml/crashtests/1405878.xml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/xml/crashtests/1405878.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/dom/xml/crashtests/1405878.xml b/dom/xml/crashtests/1405878.xml
new file mode 100644
index 0000000000..12677ade93
--- /dev/null
+++ b/dom/xml/crashtests/1405878.xml
@@ -0,0 +1,11 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <body>
+ <select>
+ <script>document.documentElement.offsetHeight</script>
+ <option>Hello there</option>
+ </select>
+ <script>
+ document.querySelector("body").style.display = "inline";
+ </script>
+ </body>
+</html>