aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/idbcursor
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/idbcursor')
-rw-r--r--files/zh-cn/web/api/idbcursor/direction/index.html51
-rw-r--r--files/zh-cn/web/api/idbcursor/index.html52
-rw-r--r--files/zh-cn/web/api/idbcursor/key/index.html113
3 files changed, 4 insertions, 212 deletions
diff --git a/files/zh-cn/web/api/idbcursor/direction/index.html b/files/zh-cn/web/api/idbcursor/direction/index.html
index 0c7f2b6204..00ca2da3fa 100644
--- a/files/zh-cn/web/api/idbcursor/direction/index.html
+++ b/files/zh-cn/web/api/idbcursor/direction/index.html
@@ -88,55 +88,8 @@ translation_of: Web/API/IDBCursor/direction
</table>
<h2 id="Browser_compatibility" name="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>23{{property_prefix("webkit")}}<br>
- 24</td>
- <td>10 {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10, partial</td>
- <td>15</td>
- <td>7.1</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>{{CompatGeckoMobile("22.0")}}</td>
- <td>1.0.1</td>
- <td>10</td>
- <td>22</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.IDBCursor.direction")}}
+
<h2 id="sect1"> </h2>
<h2 id="参考资料">参考资料</h2>
<ul>
diff --git a/files/zh-cn/web/api/idbcursor/index.html b/files/zh-cn/web/api/idbcursor/index.html
index 7c0d2e67cf..8e4fbefbda 100644
--- a/files/zh-cn/web/api/idbcursor/index.html
+++ b/files/zh-cn/web/api/idbcursor/index.html
@@ -96,57 +96,7 @@ translation_of: Web/API/IDBCursor
<h2 id="Browser_compatibility" name="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>23{{property_prefix("webkit")}}<br>
- 24</td>
- <td>10 {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10, partial</td>
- <td>15</td>
- <td>7.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>{{CompatGeckoMobile("22.0")}}</td>
- <td>1.0.1</td>
- <td>10</td>
- <td>22</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.IDBCursor")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/idbcursor/key/index.html b/files/zh-cn/web/api/idbcursor/key/index.html
index 573890a7fa..1a20f28dc4 100644
--- a/files/zh-cn/web/api/idbcursor/key/index.html
+++ b/files/zh-cn/web/api/idbcursor/key/index.html
@@ -68,118 +68,7 @@ translation_of: Web/API/IDBCursor/key
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</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>23{{property_prefix("webkit")}}<br>
- 24</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10 {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10, partial</td>
- <td>15</td>
- <td>7.1</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("37.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Binary keys</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("51.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Indexed Database 2.0</td>
- <td>{{CompatChrome(58)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(45)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("22.0")}}</td>
- <td>10</td>
- <td>22</td>
- <td>8</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("37.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Binary keys</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("51.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Indexed Database 2.0</td>
- <td>{{CompatChrome(58)}}</td>
- <td>{{CompatChrome(58)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(45)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.IDBCursor.key")}}
<h2 id="相关链接">相关链接</h2>