device; hixie: An idea for <device>. Don't know if we'll go with this, but it's interesting. (whatwg r5312)

device; hixie: An idea for <device>. Don't know if we'll go with this,
but it's interesting. (whatwg r5312)

http://dev.w3.org/cvsweb/html5/html-device/Overview.html?r1=1.54&r2=1.55&f=h
http://html5.org/tools/web-apps-tracker?from=5311&to=5312

===================================================================
RCS file: /sources/public/html5/html-device/Overview.html,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- Overview.html 11 Aug 2010 03:50:14 -0000 1.54
+++ Overview.html 18 Aug 2010 01:32:30 -0000 1.55
@@ -310,7 +310,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML Device</h1>
    <h2 class="no-num no-toc" id="an-addition-to-html">An addition to HTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-11-august-2010">Editor's Draft 11 August 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-18-august-2010">Editor's Draft 18 August 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html-device/">http://www.w3.org/TR/html-device/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -397,7 +397,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 11 August 2010 Editor's Draft.
+  This specification is the 18 August 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is part of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">a
   larger specification</a> being produced by the <a href="http://www.whatwg.org/">WHATWG</a>.
   <!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST -->
@@ -451,11 +451,12 @@
   would like access to. The attribute is an <span>enumerated
   attribute</span> with the keywords given in the first column of the
   following table, and their corresponding states given in the cell in
-  second column of the same row.<p class="XXX">RS232 is only included below to give an idea of where
-  we could go with this. <strong>Should we instead just make this only
-  useful for audiovisual streams?</strong> Unless there are compelling
-  reasons, we probably should not be this generic. So far, the reasons
-  aren't that compelling.<table><thead><tr><th>Keyword
+  second column of the same row.<p class="XXX">RS232 and USB are only included below to give an idea
+  of where we could go with this. <strong>Should we instead just make
+  this only useful for audiovisual streams?</strong> Unless there are
+  compelling reasons, we probably should not be this generic. So far,
+  the reasons for RS232 aren't that compelling. For USB, slightly more
+  so.<table><thead><tr><th>Keyword
      <th>State
      <th>Device description
      <th>Examples
@@ -471,9 +472,13 @@
      <td><span title="attr-device-type-rs232">RS232</span>
      <td>RS232 device.
      <td>A serial port.
+    <tr><td><dfn id="attr-device-type-keyword-usb" title="attr-device-type-keyword-usb"><code>usb</code></dfn>
+     <td><span title="attr-device-type-usb">USB</span>
+     <td>USB device.
+     <td>A scanner, a music player, a disk jockey, a fish tank.
   </table><p class="XXX">processing model: 'change' event fires once user
-  selects a new device; .data is set to new Stream, LocalFS, or RS232
-  object as appropriate.<div class="example">
+  selects a new device; .data is set to new Stream, LocalFS, USB, or
+  RS232 object as appropriate.<div class="example">
 
    <pre>&lt;p&gt;To start chatting, select a video camera: &lt;device type=media onchange="update(this.data)"&gt;&lt;/p&gt;
 &lt;video autoplay&gt;&lt;/video&gt;

Received on Wednesday, 18 August 2010 01:33:24 UTC