- From: Roy-Orbison via GitHub <sysbot+gh@w3.org>
- Date: Tue, 26 May 2020 02:48:45 +0000
- To: public-css-archive@w3.org
> A file input only selects a file, submitting the form uploads it. They are not equivalent @plinss This is barely technically correct. A vanilla form won't submit the data until the user chooses, but they are the minority. Once chosen, a file is no longer private to the user. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file As soon as a file is selected, the `change` event fires on the element, and the file data + name is exposed via the `input.files` property. It is very common for upload controls to act on that event and immediately submit the file data to a remote machine with no further user interaction. -- GitHub Notification of comment by Roy-Orbison Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5049#issuecomment-633779911 using your GitHub account
Received on Tuesday, 26 May 2020 02:48:47 UTC