summaryrefslogtreecommitdiffstats
path: root/layout/forms/crashtests/1471157.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/forms/crashtests/1471157.html')
-rw-r--r--layout/forms/crashtests/1471157.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/forms/crashtests/1471157.html b/layout/forms/crashtests/1471157.html
new file mode 100644
index 0000000000..5cde3d0b84
--- /dev/null
+++ b/layout/forms/crashtests/1471157.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<input type="file">
+<script>
+ onload = function() {
+ var input = document.querySelector("input");
+ console.log(input.offsetWidth); // Force layout flush and hence layout box
+ // creation.
+ input.dispatchEvent(new DragEvent("drop"));
+ }
+</script>
+