html5/spec Overview.html,1.4788,1.4789

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv10755

Modified Files:
	Overview.html 
Log Message:
Explicitly allow UAs to use <input type=file accept> intelligently. (whatwg r5957)

Index: Overview.html
===================================================================
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:57:41 UTC