[html5] r5957 - [e] (0) Explicitly allow UAs to use <input type=file accept> intelligently.

whatwg at whatwg.org whatwg at whatwg.org
Thu Mar 17 20:57:29 PDT 2011


Author: ianh
Date: 2011-03-17 20:57:28 -0700 (Thu, 17 Mar 2011)
New Revision: 5957

Modified:
   complete.html
   index
   source
Log:
[e] (0) Explicitly allow UAs to use <input type=file accept> intelligently.

Modified: complete.html
===================================================================
--- complete.html	2011-03-18 01:17:52 UTC (rev 5956)
+++ complete.html	2011-03-18 03:57:28 UTC (rev 5957)
@@ -43397,6 +43397,14 @@
   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></p>
 
+  <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.</p>
+
   <div class=impl>
 
   <p>User agents should prevent the user from selecting files that are

Modified: index
===================================================================
--- index	2011-03-18 01:17:52 UTC (rev 5956)
+++ index	2011-03-18 03:57:28 UTC (rev 5957)
@@ -43380,6 +43380,14 @@
   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></p>
 
+  <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.</p>
+
   <div class=impl>
 
   <p>User agents should prevent the user from selecting files that are

Modified: source
===================================================================
--- source	2011-03-18 01:17:52 UTC (rev 5956)
+++ source	2011-03-18 03:57:28 UTC (rev 5957)
@@ -48373,6 +48373,14 @@
   attribute, the user agent must <span title="split a string on
   commas">split the attribute value on commas</span>.</span></p>
 
+  <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.</p>
+
   <div class="impl">
 
   <p>User agents should prevent the user from selecting files that are




More information about the Commit-Watchers mailing list