W3C home > Mailing lists > Public > public-html-diffs@w3.org > March 2011

hixie: Explicitly allow UAs to use <input type=file accept> intelligently. (whatwg r5957)

From: poot <cvsmail@w3.org>
Date: Thu, 17 Mar 2011 23:58:50 -0400
To: public-html-diffs@w3.org
Message-Id: <E1Q0Qpu-0006j2-QC@jay.w3.org>
hixie: Explicitly allow UAs to use <input type=file accept>
intelligently. (whatwg r5957)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4788&r2=1.4789&f=h
http://html5.org/tools/web-apps-tracker?from=5956&to=5957

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4788
retrieving revision 1.4789
diff -u -d -r1.4788 -r1.4789
--- Overview.html	18 Mar 2011 01:17:58 -0000	1.4788
+++ Overview.html	18 Mar 2011 03:57:35 -0000	1.4789
@@ -33896,7 +33896,13 @@
   matches for any of the other tokens (i.e. duplicates are not
   allowed). <span class="impl">To obtain the list of tokens from the
   attribute, the user agent must <a href="#split-a-string-on-commas" title="split a string on
-  commas">split the attribute value on commas</a>.</span><div class="impl">
+  commas">split the attribute value on commas</a>.</span><p>User agents may use the value of this attribute to display
+  appropriate a more appropriate user interface than a generic file
+  picker. For instance, given the value <code title="">image/*</code>,
+  a user agent could offer the user the option of using a local camera
+  or selecting a photograph from their photo collection; given the
+  value <code title="">image/*</code>, a user agent could offer the
+  user the option of recording a clip using a headset microphone.<div class="impl">
 
   <p>User agents should prevent the user from selecting files that are
   not accepted by one (or more) of these tokens.</p>
Received on Friday, 18 March 2011 03:58:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 18 March 2011 03:58:53 GMT