- From: Dominique Hazael-Massieux via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 16 Jul 2010 09:40:59 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/camera In directory hutz:/tmp/cvs-serv2142 Modified Files: Overview.html Log Message: note on HTML5 coordination on input type js interface, mime type parameter Index: Overview.html =================================================================== RCS file: /sources/public/2009/dap/camera/Overview.html,v retrieving revision 1.80 retrieving revision 1.81 diff -u -d -r1.80 -r1.81 --- Overview.html 16 Jul 2010 09:31:17 -0000 1.80 +++ Overview.html 16 Jul 2010 09:40:57 -0000 1.81 @@ -138,7 +138,9 @@ <p>This section is normative.</p> - <p>If input element in the File Upload state [[HTML5]] contains + <p class="note">[[!HTML5]] <a href="http://dev.w3.org/html5/spec/number-state.html#file-upload-state">links <code><input type="file"></code></a> to the File interface. This specification defines a refined MediaFile interface to be used when the <code>accept</code> attribute take certain values — this will require coordination with the HTML5 Working Group.</p> + + <p>If input element in the File Upload state [[!HTML5]] contains accept attribute with values <code>image/*</code>, <code>sound/*</code>, or <code>video/*</code>, the user agent can invoke a file picker that allows respectively the user to take a @@ -168,8 +170,12 @@ <p>This section is normative.</p> + <p>The <code>capture</code> parameter may be specified on the media type values of the <code>accept</code> attribute to provide user agents with a hint of that by the default a file picker should be in media capturing mode.</p> + <p class="note">[[!HTML5]] <a href="http://dev.w3.org/html5/spec/number-state.html#attr-input-accept">defines the <code>accept</code> attribute to take no parameters on MIME types</a>. This specification proposes to use a MIME type parameter — this will require coordination with the HTML5 Working Group.</p> + + <p>The <code>capture</code> parameter can take one of the following values: <code>camera</code>, <code>camcorder</code>, <code>microphone</code>. These values indicate which source the file picker interface should preferably present to the user by default.</p> </section>
Received on Friday, 16 July 2010 09:41:00 UTC