W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

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

From: Peter Linss via GitHub <sysbot+gh@w3.org>
Date: Tue, 26 May 2020 04:05:11 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-633796190-1590465910-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:07 UTC