aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/fontfaceset
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/fontfaceset
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/fontfaceset')
-rw-r--r--files/zh-cn/web/api/fontfaceset/check/index.html54
-rw-r--r--files/zh-cn/web/api/fontfaceset/index.html75
2 files changed, 2 insertions, 127 deletions
diff --git a/files/zh-cn/web/api/fontfaceset/check/index.html b/files/zh-cn/web/api/fontfaceset/check/index.html
index 6f95ff04f4..a372ca88c2 100644
--- a/files/zh-cn/web/api/fontfaceset/check/index.html
+++ b/files/zh-cn/web/api/fontfaceset/check/index.html
@@ -57,56 +57,4 @@ document.fonts.check("12px MyFont","ß"); </font><font>如果字体“MyFont
<h2 id="浏览器兼容"><font><font>浏览器兼容</font></font></h2>
-<div><font><font>{{CompatibilityTable}}</font></font></div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><font><font>特征</font></font></th>
- <th><font><font>铬</font></font></th>
- <th><font><font>Firefox(Gecko)</font></font></th>
- <th><font><font>IE浏览器</font></font></th>
- <th><font><font>歌剧</font></font></th>
- <th><font><font>Safari(WebKit)</font></font></th>
- </tr>
- <tr>
- <td><font><font>基本支持</font></font></td>
- <td><font><font>{{CompatChrome(35.0)}}</font></font></td>
- <td><font><font>{{CompatGeckoDesktop(41)}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><font><font>特征</font></font></th>
- <th><font><font>Android的</font></font></th>
- <th><font><font>Android Webview</font></font></th>
- <th><font><font>Firefox Mobile(Gecko)</font></font></th>
- <th><font><font>Firefox操作系统</font></font></th>
- <th><font><font>IE Mobile</font></font></th>
- <th><font><font>歌剧手机</font></font></th>
- <th><font><font>Safari手机</font></font></th>
- <th><font><font>适用于Android的Chrome</font></font></th>
- </tr>
- <tr>
- <td><font><font>基本支持</font></font></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- <td><font><font>{{CompatChrome(35.0)}}</font></font></td>
- <td><font><font>{{CompatGeckoMobile(41)}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatChrome(35.0)}}</font></font></td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.FontFaceSet.check")}}
diff --git a/files/zh-cn/web/api/fontfaceset/index.html b/files/zh-cn/web/api/fontfaceset/index.html
index 564cd391ea..79274944b2 100644
--- a/files/zh-cn/web/api/fontfaceset/index.html
+++ b/files/zh-cn/web/api/fontfaceset/index.html
@@ -67,77 +67,4 @@ translation_of: Web/API/FontFaceSet
<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(35.0)}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatSafari(10)}}</td>
- </tr>
- <tr>
- <td>clear() method</td>
- <td>{{CompatChrome(48.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(35.0)}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatSafari(10)}}</td>
- <td>{{CompatChrome(35.0)}}</td>
- </tr>
- <tr>
- <td>clear() method</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(48.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(48.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("api.FontFaceSet")}}