Re: [whatwg] Removing multiple attribute from input type=file multiple with selected files

2010-02-12 Thread Ian Hickson
On Sun, 13 Dec 2009, TAMURA, Kent wrote: What should happen to selected files in a case that a user selects multiple files for input type=file multiple and then a script code removes the multiple attribute from the input element? - nothing, no change to the selected files and they will be

Re: [whatwg] Removing multiple attribute from input type=file multiple with selected files

2009-12-14 Thread Jonas Sicking
On Mon, Dec 14, 2009 at 10:33 AM, Ojan Vafai o...@chromium.org wrote: On Sun, Dec 13, 2009 at 7:47 AM, Jonas Sicking jo...@sicking.cc wrote: On Sun, Dec 13, 2009 at 5:36 AM, TAMURA, Kent tk...@chromium.org wrote: What should happen to selected files in a case that a user selects multiple

Re: [whatwg] Removing multiple attribute from input type=file multiple with selected files

2009-12-14 Thread Ojan Vafai
On Mon, Dec 14, 2009 at 11:39 AM, Jonas Sicking jo...@sicking.cc wrote: On Mon, Dec 14, 2009 at 10:33 AM, Ojan Vafai o...@chromium.org wrote: On Sun, Dec 13, 2009 at 7:47 AM, Jonas Sicking jo...@sicking.cc wrote: On Sun, Dec 13, 2009 at 5:36 AM, TAMURA, Kent tk...@chromium.org wrote:

Re: [whatwg] Removing multiple attribute from input type=file multiple with selected files

2009-12-14 Thread TAMURA, Kent
I would prefer not to throw an exception. Making removeAttribute throw an exception seems wrong since the attribute *is* in fact removed, and making foo.multiple=false throw would mean that it would behave differently from all other mapped IDL attributes. I'd really prefer to keep things

[whatwg] Removing multiple attribute from input type=file multiple with selected files

2009-12-13 Thread TAMURA, Kent
What should happen to selected files in a case that a user selects multiple files for input type=file multiple and then a script code removes the multiple attribute from the input element? - nothing, no change to the selected files and they will be submitted, - cleared, or - a single file

Re: [whatwg] Removing multiple attribute from input type=file multiple with selected files

2009-12-13 Thread Jonas Sicking
On Sun, Dec 13, 2009 at 5:36 AM, TAMURA, Kent tk...@chromium.org wrote: What should happen to selected files in a case that a user selects multiple files for input type=file multiple and then a script code removes the multiple attribute from the input element?  - nothing, no change to the