--- a/midi/specification.html Thu Oct 18 07:03:46 2012 -0700
+++ b/midi/specification.html Fri Oct 19 14:54:26 2012 +0300
@@ -5,17 +5,16 @@
<title>Web MIDI API</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
- <style media="all">
+ <style type="text/css" media="all">
table {border-collapse: collapse; border: 1px solid #000; font: normal 80%/140% arial, helvetica, sans-serif; color: #555; background: #fff;}
td, th {border: 1px dotted #bbb; padding:.5em 1em; font-size: x-small; width: 10em; }
- caption {padding: 0 0 .5em 0; text-align: left; font-size: 1; font-weight: 500; text-align: center; color: #666; background: transparent;}
+ caption {padding: 0 0 .5em 0; text-align: left; font-size: 100%; font-weight: 500; text-align: center; color: #666; background: transparent;}
table a {padding: 1px; text-decoration: none; font-weight: bold; background: transparent;}
table a:link {border-bottom: 1px dashed #ddd; color: #000;}
table a:visited {border-bottom: 1px dashed #ccc; text-decoration: line-through; color: #808080;}
table a:hover {border-bottom: 1px dashed #bbb; color: #666;}
thead th, tfoot th {white-space: nowrap; border: 1px solid #000; text-align: center; color: black; background: #ddd;}
tfoot td {border: 2px solid #000;}
- tbody { height: 300px; overflow: auto; }
tbody th {color: #060606; }
tbody th, tbody td {vertical-align: middle; text-align: center; }
</style>
@@ -27,19 +26,19 @@
<script src='https://www.w3.org/Tools/respec/respec-w3c-common' class='remove'></script>
<script class='remove'>
var respecConfig = {
- specStatus: "ED",
+ specStatus: "ED",
copyrightStart: "2012",
- edDraftURI: "https://dvcs.w3.org/hg/audio/raw-file/tip/midi",
- extraCSS: ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css"],
- editors: [
- { name: "Jussi Kalliokoski", url: "http://avd.io" },
- { name: "Chris Wilson", url: "mailto:cwilso@google.com",
- company: "Google", companyURL: "http://google.com" },
+ edDraftURI: "https://dvcs.w3.org/hg/audio/raw-file/tip/midi",
+ extraCSS: ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css"],
+ editors: [
+ { name: "Jussi Kalliokoski", url: "http://avd.io" },
+ { name: "Chris Wilson", url: "mailto:cwilso@google.com",
+ company: "Google", companyURL: "http://google.com" },
],
- wg: "Audio Working Group",
- wgURI: "http://www.w3.org/2011/audio/",
+ wg: "Audio Working Group",
+ wgURI: "http://www.w3.org/2011/audio/",
wgPublicList: "public-audio",
- wgPatentURI: "http://www.w3.org/2004/01/pp-impl/46884/status",
+ wgPatentURI: "http://www.w3.org/2004/01/pp-impl/46884/status",
};
</script>
</head>
@@ -116,11 +115,6 @@
<section>
<h2>Terminology</h2>
<p>
- The <code><a href="http://dev.w3.org/html5/spec/webappapis.html#function">
- Function</a></code> interface represents a function in the scripting
- language being used as defined in [[!HTML5]].
- </p>
- <p>
The concepts <dfn><a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">
queue a task</a></dfn> and
<dfn><a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">
@@ -261,14 +255,14 @@
<li><p>
Let <var>error</var> be a new <code>
<a
- href="#navigatormidiaccesserror">NavigatorMIDIAccessError</a>
+ href="#idl-def-NavigatorMIDIAccessError">NavigatorMIDIAccessError</a>
</code> object whose <code
title="dom-NavigatorMIDIAccessError-code">
<a href="#dom-navigatormidiaccesserror-code">code</a>
</code> attribute has the numeric value 1 (<code
title="dom-NavigatorMIDIAccessError-PERMISSION_DENIED">
<a
- href="#dom-navigatormidiaccesserror-permission_denied">PERMISSION_DENIED</a>
+ href="#dom-navigatormidiaccesserror-PERMISSION_DENIED">PERMISSION_DENIED</a>
</code>).
</p></li>
@@ -334,7 +328,7 @@
always be 1, for which the constant <code
title="dom-NavigatorMIDIAccessError-PERMISSION_DENIED">
<a
- href="#dom-navigatormidiaccesserror-permission_denied">PERMISSION_DENIED</a>
+ href="#dom-navigatormidiaccesserror-PERMISSION_DENIED">PERMISSION_DENIED</a>
</code> is defined.
</dd>
</dl>
@@ -599,7 +593,7 @@
</p>
</dd>
<dt class="no-docs">[TreatNonCallableAsNull] attribute
- Function? ondisconnect</dt>
+ callback? ondisconnect</dt>
<dd>
<p>
This event handler, of type <code><a href=
@@ -609,7 +603,7 @@
</p>
</dd>
<dt class="no-docs">[TreatNonCallableAsNull] attribute
- Function? onconnect</dt>
+ callback? onconnect</dt>
<dd>
<p>
This event handler, of type <code><a href=
@@ -628,7 +622,7 @@
interface MIDIInput implements EventTarget"
class="idl">
<dt class="no-docs">[TreatNonCallableAsNull] attribute
- Function? onmessage</dt>
+ callback? onmessage</dt>
<dd>
<p>
This event handler, of type <code><a href=