W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: [File API] FileList

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 31 Aug 2011 10:43:09 +0200
To: "Arun Ranganathan" <arun@mozilla.com>
Cc: "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.v02k57a264w2qv@annevk-macbookpro.local>
On Wed, 31 Aug 2011 06:12:06 +0200, Arun Ranganathan <arun@mozilla.com>  
wrote:
> On 8/14/11 5:36 AM, Anne van Kesteren wrote:
>> I think FileList should talk less about selected files and more about  
>> being a collection or list of File objects. That way it can be reused  
>> in the future without people tripping over its current narrow  
>> definition.
>
> It is a collection of File objects, but they must be user selected.   
> HTMLInputElement and DataTransfer don't make a sufficient virtue of user  
> selection, so I feel it useful to keep it a part of FileList.

Why must they be user selected? I do not think that will necessarily be  
true over time. And it also seems to put some kind of artificial  
constraint on UI that should not be there.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Wednesday, 31 August 2011 08:43:41 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT