Skip to content

Commit

Permalink
[e] (0) Explicitly allow UAs to use <input type=file accept> intellig…
Browse files Browse the repository at this point in the history
…ently.

git-svn-id: http://svn.whatwg.org/webapps@5957 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 18, 2011
1 parent 6b0ec94 commit 8e7cc05
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions complete.html
Expand Up @@ -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 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> 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> <div class=impl>


<p>User agents should prevent the user from selecting files that are <p>User agents should prevent the user from selecting files that are
Expand Down
8 changes: 8 additions & 0 deletions index
Expand Up @@ -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 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> 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> <div class=impl>


<p>User agents should prevent the user from selecting files that are <p>User agents should prevent the user from selecting files that are
Expand Down
8 changes: 8 additions & 0 deletions source
Expand Up @@ -48373,6 +48373,14 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
attribute, the user agent must <span title="split a string on attribute, the user agent must <span title="split a string on
commas">split the attribute value on commas</span>.</span></p> 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"> <div class="impl">


<p>User agents should prevent the user from selecting files that are <p>User agents should prevent the user from selecting files that are
Expand Down

0 comments on commit 8e7cc05

Please sign in to comment.