aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/idbdatabase
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-02 20:22:51 +0900
committerIrvin <irvinfly@gmail.com>2022-03-04 01:03:17 +0800
commit9a110dee28ae2ef12ee014b98fda6bae6ee48edb (patch)
tree6525763f4313d7d8f42aefa699765f61ee1c63df /files/zh-cn/web/api/idbdatabase
parenteeddb651b6e8deb8ecabc2bc5bc28c8ead25cca5 (diff)
downloadtranslated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.gz
translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.bz2
translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.zip
Migrate to Compat macro (zh-cn)
Diffstat (limited to 'files/zh-cn/web/api/idbdatabase')
-rw-r--r--files/zh-cn/web/api/idbdatabase/index.html73
1 files changed, 1 insertions, 72 deletions
diff --git a/files/zh-cn/web/api/idbdatabase/index.html b/files/zh-cn/web/api/idbdatabase/index.html
index 1bf1663f7b..2b09f8d9ad 100644
--- a/files/zh-cn/web/api/idbdatabase/index.html
+++ b/files/zh-cn/web/api/idbdatabase/index.html
@@ -137,78 +137,7 @@ translation_of: Web/API/IDBDatabase
<h2 id="Browser_compatibility" name="Browser_compatibility"><font>浏览器兼容性</font></h2>
-<div><font>{{CompatibilityTable}}</font></div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><font>Feature</font></th>
- <th><font>Chrome</font></th>
- <th><font>Firefox (Gecko)</font></th>
- <th><font>Internet Explorer</font></th>
- <th><font>Opera</font></th>
- <th><font>Safari (WebKit)</font></th>
- </tr>
- <tr>
- <td><font>Basic support</font></td>
- <td><font>23{{property_prefix("webkit")}}<br>
- 24</font></td>
- <td><font>10 {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</font></td>
- <td><font>10, partial</font></td>
- <td><font>15</font></td>
- <td><font>7.1</font></td>
- </tr>
- <tr>
- <td><font>Available in workers</font></td>
- <td><font>{{CompatVersionUnknown}}</font></td>
- <td><font>{{CompatGeckoMobile("37.0")}}</font></td>
- <td><font>{{CompatUnknown}}</font></td>
- <td><font>{{CompatVersionUnknown}}</font></td>
- <td><font>{{CompatUnknown}}</font></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><font>Feature</font></th>
- <th><font>Android</font></th>
- <th><font>Firefox Mobile (Gecko)</font></th>
- <th><font>Firefox OS</font></th>
- <th><font>IE Phone</font></th>
- <th><font>Opera Mobile</font></th>
- <th><font>Safari Mobile</font></th>
- </tr>
- <tr>
- <td><font>Basic support</font></td>
- <td><font>4.4</font></td>
- <td><font>{{CompatGeckoMobile("22.0")}}</font></td>
- <td><font>1.0.1</font></td>
- <td><font>10</font></td>
- <td><font>22</font></td>
- <td><font>8</font></td>
- </tr>
- <tr>
- <td><font>Available in workers</font></td>
- <td><font>{{CompatVersionUnknown}}</font></td>
- <td><font>{{CompatGeckoMobile("37.0")}}</font></td>
- <td><font>{{CompatVersionUnknown}}</font></td>
- <td><font>{{CompatUnknown}}</font></td>
- <td><font>{{CompatVersionUnknown}}</font></td>
- <td><font>{{CompatUnknown}}</font></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div class="warning">
-<p><font>Be careful in Chrome as it still implements the old specification along with the new one. Similarly it still has the prefixed <code>webkitIndexedDB</code> property even if the unprefixed <code>indexedDB</code> is present.</font></p>
-</div>
+{{Compat("api.IDBDatabase")}}
<h2 id="See_also"><font>See also</font></h2>