>> Aaron opened an issue for this on GitHub [1] and I agree that it is a >> problem and we should definitely rename it to something else! One option >> might be to change dir to directory, but we would need a different name for >> directory (the attribute that gets back the virtual root holding the >> selected files and folders).
I wonder, is it necessary to have a separate "dir"/"directory" attribute from "multiple"? Adding a new DOM attribute will allow for feature detecting this change. UA's can handle the presentation of a separate directory picker if necessary--why force this distinction on the web developer? -----Original Message----- From: Ali Alabbas [mailto:a...@microsoft.com] Sent: Tuesday, April 28, 2015 4:21 PM To: Tab Atkins Jr.; Ryan Seddon Cc: Web Applications Working Group WG Subject: RE: Directory Upload Proposal On Tue, Apr 28, 2015 at 4:15 PM, Tab Atkins Jr. <jackalm...@gmail.com> wrote: >On Tue, Apr 28, 2015 at 3:53 PM, Ryan Seddon <seddon.r...@gmail.com> wrote: >>> To enable developers to build future interoperable solutions, we've >>> drafted a proposal [4], with the helpful feedback of Mozilla and >>> Google, that focuses strictly on providing the mechanisms necessary >>> to enable directory uploads. >> >> The use of the dir attribute seems odd since I can already apply dir="rtl" >> to an input to change the text direction. > >Good catch; that's a fatal naming clash, and needs to be corrected. >The obvious one is to just expand out the name to "directory". > >~TJ Aaron opened an issue for this on GitHub [1] and I agree that it is a problem and we should definitely rename it to something else! One option might be to change dir to directory, but we would need a different name for directory (the attribute that gets back the virtual root holding the selected files and folders). [1] https://github.com/InternetExplorer/directory-upload/issues/1