Make sure that if no ownerDocument is available that we fall back to the node itself (likely the document).
Attach a file by drag & drop or click to upload