2009/dap/camera Overview.html,1.118,1.119

Update of /sources/public/2009/dap/camera
In directory hutz:/tmp/cvs-serv17135

Modified Files:
	Overview.html 
Log Message:
reworking to use new attribute, per ACTION-367


Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/camera/Overview.html,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -d -r1.118 -r1.119
--- Overview.html	19 Nov 2010 08:27:42 -0000	1.118
+++ Overview.html	6 Apr 2011 08:49:35 -0000	1.119
@@ -106,22 +106,18 @@
 </section>
 
   <section id="captureparam">
-    <h2>The <code>capture</code> parameter</h2>
+    <h2>The <code>capture</code> attribute</h2>
 
     <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 class="issue"><a href="http://www.w3.org/2009/dap/track/issues/105">ISSUE-105</a>: is a MIME parameter really the best technical solution?</p>
+    <p>The <code>capture</code> attribute may be added to the <code>input</code> element to provide user agents with a hint of that by the default a file picker should be in media capturing mode.</p>
 
-    <p>The <code>capture</code> parameter can take one of the following values: <code>camera</code>, <code>camcorder</code>, <code>microphone</code>, <code>filesystem</code>. These values indicate which source the file picker interface should preferably present to the user by default.</p>
+    <p>The <code>capture</code> attribute can take one of the following values: <code>camera</code>, <code>camcorder</code>, <code>microphone</code>, <code>filesystem</code>. These values indicate which source the file picker interface should preferably present to the user by default. The default value is <code>filesystem</code>.</p>
     <p class="note">The values and their exact meaning are still very much in flux.</p>
 
     <p>For example, the following code indicates that the user is expected to upload an image from the device camera:</p>
-    <pre class="example sh_html">&lt;input type="file" accept="image/*;capture=camera" id="capture"&gt; </pre>
+    <pre class="example sh_html">&lt;input type="file" accept="image/*" capture="camera" id="capture"&gt; </pre>
     <p>A possible rendering of a file picker taking this parameter into account is offered in the <a href="#uiexamples">User Interface Examples appendix</a>.</p>
 </section>
 

Received on Wednesday, 6 April 2011 08:49:39 UTC