Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: layout/forms/crashtests/crashtests.list
<!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>