summaryrefslogtreecommitdiffstats
path: root/layout/forms/crashtests/1471157.html
blob: 5cde3d0b84d89698f47b303e65ca108d94323a38 (plain)
1
2
3
4
5
6
7
8
9
10
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>