W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

RE: Directory Upload Proposal

From: Travis Leithead <travis.leithead@microsoft.com>
Date: Tue, 28 Apr 2015 23:28:33 +0000
To: Ali Alabbas <alia@microsoft.com>, Tab Atkins Jr. <jackalmage@gmail.com>, Ryan Seddon <seddon.ryan@gmail.com>
CC: Web Applications Working Group WG <public-webapps@w3.org>
Message-ID: <BLUPR03MB3896B883E3BE79778D85FABF8E80@BLUPR03MB389.namprd03.prod.outlook.com>
>> 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:alia@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. <jackalmage@gmail.com> wrote:

>On Tue, Apr 28, 2015 at 3:53 PM, Ryan Seddon <seddon.ryan@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

Received on Tuesday, 28 April 2015 23:29:01 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC