W3C home > Mailing lists > Public > public-dap-commits@w3.org > April 2011

2009/dap/camera Overview.html,1.120,1.121

From: Dominique Hazael-Massieux via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 06 Apr 2011 09:35:20 +0000
To: public-dap-commits@w3.org
Message-Id: <E1Q7P8y-0006Kt-QS@lionel-hutz.w3.org>
Update of /sources/public/2009/dap/camera
In directory hutz:/tmp/cvs-serv24341

Modified Files:
Log Message:
added supplemental IDL for HTMLInputElement
Issue re incompat between accept and capture

Index: Overview.html
RCS file: /sources/public/2009/dap/camera/Overview.html,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- Overview.html	6 Apr 2011 08:54:19 -0000	1.120
+++ Overview.html	6 Apr 2011 09:35:18 -0000	1.121
@@ -114,7 +114,13 @@
     <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> attribute is an enumerated attribute that can take one of the following values: <code>camera</code>, <code>camcorder</code>, <code>microphone</code>, <code>filesystem</code> (ASCII case-insensitive). These values indicate which source the file picker interface should preferably present to the user by default. Both the invalid and missing default value are <code>filesystem</code>.</p>
-    <p class="note">The values and their exact meaning are still very much in flux.</p>
+    <p class="issue">What to do if there is no accept attribute? What if the accept attribute is set to a value that the pre-hinted device cannot support?</p>
+    <dl title="[Supplemental] interface HTMLInputElement" class="idl">
+      <dt>attribute DOMString capture</dt>
+      <dd>One of <code>camera</code>, <code>camcorder</code>, <code>microphone</code>, <code>filesystem</code></dd>
+    </dl>
     <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>
Received on Wednesday, 6 April 2011 09:35:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:52:29 UTC