Permalink
Browse files

[e] (0) Explicitly allow UAs to use <input type=file accept> intellig…

…ently.

git-svn-id: http://svn.whatwg.org/webapps@5957 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 6b0ec94 commit 8e7cc0571a51c1835978e9eaeb9af8a920f0c054 @Hixie Hixie committed Mar 18, 2011
Showing with 24 additions and 0 deletions.
  1. +8 −0 complete.html
  2. +8 −0 index
  3. +8 −0 source
View
8 complete.html
@@ -43397,6 +43397,14 @@ <h6 id=file-upload-state><span class=secno>4.10.7.1.18 </span><dfn title=attr-in
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
View
8 index
@@ -43380,6 +43380,14 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
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
View
8 source
@@ -48373,6 +48373,14 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
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

0 comments on commit 8e7cc05

Please sign in to comment.