aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/offlineaudiocontext
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/offlineaudiocontext')
-rw-r--r--files/zh-cn/web/api/offlineaudiocontext/index.html117
-rw-r--r--files/zh-cn/web/api/offlineaudiocontext/length/index.html54
-rw-r--r--files/zh-cn/web/api/offlineaudiocontext/offlineaudiocontext/index.html56
-rw-r--r--files/zh-cn/web/api/offlineaudiocontext/suspend/index.html54
4 files changed, 4 insertions, 277 deletions
diff --git a/files/zh-cn/web/api/offlineaudiocontext/index.html b/files/zh-cn/web/api/offlineaudiocontext/index.html
index 4169678330..befb838ae0 100644
--- a/files/zh-cn/web/api/offlineaudiocontext/index.html
+++ b/files/zh-cn/web/api/offlineaudiocontext/index.html
@@ -126,122 +126,7 @@ getData();</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td>Promise-based <code>startRendering()</code></td>
- <td>{{CompatChrome(42.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(37.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>suspend()</code>, <code>resume()</code></td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td><code>length</code></td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>Edge</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(33.0)}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Promise-based <code>startRendering()</code></td>
- <td>{{CompatChrome(42.0)}}</td>
- <td>37.0</td>
- <td>2.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- <tr>
- <td><code>suspend()</code>, <code>resume()</code></td>
- <td>{{CompatChrome(49.0)}}</td>
- <td> </td>
- <td> </td>
- <td>{{CompatUnknown}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- <tr>
- <td><code>length</code></td>
- <td>{{CompatChrome(51.0)}}</td>
- <td> </td>
- <td> </td>
- <td>{{CompatUnknown}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(51.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.OfflineAudioContext")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/offlineaudiocontext/length/index.html b/files/zh-cn/web/api/offlineaudiocontext/length/index.html
index 86bfdb3a14..19b242ef5d 100644
--- a/files/zh-cn/web/api/offlineaudiocontext/length/index.html
+++ b/files/zh-cn/web/api/offlineaudiocontext/length/index.html
@@ -34,56 +34,4 @@ translation_of: Web/API/OfflineAudioContext/length
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(51.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.OfflineAudioContext.length")}}
diff --git a/files/zh-cn/web/api/offlineaudiocontext/offlineaudiocontext/index.html b/files/zh-cn/web/api/offlineaudiocontext/offlineaudiocontext/index.html
index e811ad5188..1e569ad184 100644
--- a/files/zh-cn/web/api/offlineaudiocontext/offlineaudiocontext/index.html
+++ b/files/zh-cn/web/api/offlineaudiocontext/offlineaudiocontext/index.html
@@ -63,58 +63,4 @@ source <span class="operator token">=</span> offlineCtx<span class="punctuation
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}<br>
-  </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}<br>
-  </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.OfflineAudioContext.OfflineAudioContext")}}
diff --git a/files/zh-cn/web/api/offlineaudiocontext/suspend/index.html b/files/zh-cn/web/api/offlineaudiocontext/suspend/index.html
index 26b475b126..f9c295ae22 100644
--- a/files/zh-cn/web/api/offlineaudiocontext/suspend/index.html
+++ b/files/zh-cn/web/api/offlineaudiocontext/suspend/index.html
@@ -56,56 +56,4 @@ translation_of: Web/API/OfflineAudioContext/suspend
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.OfflineAudioContext.suspend")}}