Calling click() on <input> the Gecko-style

Hi,

Now that the Firefox 4 finally shipped, it's good to note that Gecko 2.0 introduced support for calling click() on <input> elements to open the file picker. This (and its potential privacy and security implications) may be good to keep in mind while crafting APIs that hook into the <input type=file>.

Now I'm wondering if this behavior is currently covered by any spec?

https://developer.mozilla.org/en/Using_files_from_web_applications#Using_hidden_file_input_elements_using_the_click%28%29_method

-Anssi

Received on Tuesday, 22 March 2011 16:08:18 UTC