Add ids to IDL code markup
authorChris Lowis <chris.lowis@bbc.co.uk>
Thu, 04 Jul 2013 21:00:14 -0400
changeset 324 649d50bf073e
parent 323 4186aad8cbe6
child 325 28a38310adae
Add ids to IDL code markup

This fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=22067.
webaudio/specification.html
--- a/webaudio/specification.html	Mon Jul 01 11:33:27 2013 -0700
+++ b/webaudio/specification.html	Thu Jul 04 21:00:14 2013 -0400
@@ -831,7 +831,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="audio-context-idl">
 
 callback DecodeSuccessCallback = void (AudioBuffer decodedData);
 callback DecodeErrorCallback = void ();
@@ -1224,7 +1224,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="offline-audio-context-idl">
 [Constructor(unsigned long numberOfChannels, unsigned long length, float sampleRate)]
 interface <dfn id="dfn-OfflineAudioContext">OfflineAudioContext</dfn> : AudioContext {
 
@@ -1274,7 +1274,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="offline-audio-completion-event-idl">
 
 interface <dfn id="dfn-OfflineAudioCompletionEvent">OfflineAudioCompletionEvent</dfn> : Event {
 
@@ -1358,7 +1358,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="audio-node-idl">
 
 enum <dfn>ChannelCountMode</dfn> {
     "max",
@@ -1592,7 +1592,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="audio-destination-node-idl">
 
 interface <dfn id="dfn-AudioDestinationNode">AudioDestinationNode</dfn> : AudioNode {
 
@@ -1670,7 +1670,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="audio-param-idl">
 
 interface <dfn id="dfn-AudioParam">AudioParam</dfn> {
 
@@ -2027,7 +2027,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="gain-node-idl">
 
 interface <dfn id="dfn-GainNode">GainNode</dfn> : AudioNode {
 
@@ -2079,7 +2079,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="delay-node-idl">
 
 interface <dfn id="dfn-DelayNode">DelayNode</dfn> : AudioNode {
 
@@ -2123,7 +2123,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="audio-buffer-idl">
 
 interface <dfn id="dfn-AudioBuffer">AudioBuffer</dfn> {
 
@@ -2209,7 +2209,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="audio-buffer-source-node-idl">
 
 interface <dfn id="dfn-AudioBufferSourceNode">AudioBufferSourceNode</dfn> : AudioNode {
 
@@ -2377,7 +2377,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="media-element-audio-source-node-idl">
 
 interface <dfn id="dfn-MediaElementAudioSourceNode">MediaElementAudioSourceNode</dfn> : AudioNode {
 
@@ -2463,7 +2463,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="script-processor-node-idl">
 
 interface <dfn id="dfn-ScriptProcessorNode">ScriptProcessorNode</dfn> : AudioNode {
 
@@ -2516,7 +2516,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="audio-processing-event-idl">
 
 interface <dfn id="dfn-AudioProcessingEvent">AudioProcessingEvent</dfn> : Event {
 
@@ -2592,7 +2592,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="panner-node-idl">
 
 enum <dfn>PanningModelType</dfn> {
   "equalpower",
@@ -2780,7 +2780,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="audio-listener-idl">
 
 interface <dfn id="dfn-AudioListener">AudioListener</dfn> {
 
@@ -2879,7 +2879,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="convolver-node-idl">
 
 interface <dfn id="dfn-ConvolverNode">ConvolverNode</dfn> : AudioNode {
 
@@ -3018,7 +3018,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="analyser-node-idl">
 
 interface <dfn id="dfn-AnalyserNode">AnalyserNode</dfn> : AudioNode {
 
@@ -3161,7 +3161,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="channel-splitter-node-idl">
 
 interface <dfn id="dfn-ChannelSplitterNode">ChannelSplitterNode</dfn> : AudioNode {
 
@@ -3216,7 +3216,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="channel-merger-node-idl">
 
 interface <dfn id="dfn-ChannelMergerNode">ChannelMergerNode</dfn> : AudioNode {
 
@@ -3254,7 +3254,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code">    			<code class="idl-code">
+<pre class="code"><code class="idl-code" id="dynamics-compressor-node-idl">
 
 interface <dfn id="dfn-DynamicsCompressorNode">DynamicsCompressorNode</dfn> : AudioNode {
 
@@ -3344,7 +3344,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="biquad-filter-node-idl">
 
 enum <dfn>BiquadFilterType</dfn> {
   "lowpass",
@@ -3602,7 +3602,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="wave-shaper-node-idl">
 
 enum <dfn>OverSampleType</dfn> {
     "none",
@@ -3713,7 +3713,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="oscillator-node-idl">
 
 enum <dfn>OscillatorType</dfn> {
   "sine",
@@ -3812,7 +3812,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="wavetable-idl">
 
 interface <dfn id="dfn-PeriodicWave">PeriodicWave</dfn> {
 
@@ -3844,7 +3844,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="media-stream-audio-source-node-idl">
 
 interface <dfn id="dfn-MediaStreamAudioSourceNode">MediaStreamAudioSourceNode</dfn> : AudioNode {
 
@@ -3883,7 +3883,7 @@
 <span class="blockTitle">Web IDL</span></div>
 
 <div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code" id="media-stream-audio-destination-node-idl">
 
 interface <dfn id="dfn-MediaStreamAudioDestinationNode">MediaStreamAudioDestinationNode</dfn> : AudioNode {