Re: [csswg-drafts] [css-selectors] Can you standardise a pseudo-element selector for file inputs? (#5049)

In your example, it's still JS that's uploading the file, not the input control. It's also entirely possible that client-side JS acts on the file without ever uploading it, see the second half of the sentence you quoted from MDN.

I also find it interesting that when describing the action you used the terms "chosen" and "selected". 

An "upload control" as you describe it, is simply a file select control with script to do the upload. Without the script, or a form submission by other means, there is no upload. Whether or not this is the most common use, it's still not descriptive of what the input control does. As I said, I'm not a fan of the current name, but I'm strongly opposed to calling any part of a file input an "upload" control, this would be a disservice to authors.


-- 
GitHub Notification of comment by plinss
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5049#issuecomment-633796190 using your GitHub account

Received on Tuesday, 26 May 2020 04:05:13 UTC