aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/css/@font-face
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/css/@font-face
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/css/@font-face')
-rw-r--r--files/zh-cn/web/css/@font-face/font-family/index.html52
-rw-r--r--files/zh-cn/web/css/@font-face/font-style/index.html51
2 files changed, 2 insertions, 101 deletions
diff --git a/files/zh-cn/web/css/@font-face/font-family/index.html b/files/zh-cn/web/css/@font-face/font-family/index.html
index 9c22740f13..3c2866177c 100644
--- a/files/zh-cn/web/css/@font-face/font-family/index.html
+++ b/files/zh-cn/web/css/@font-face/font-family/index.html
@@ -61,54 +61,4 @@ font-family: examplefont;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<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</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("4")}}</td>
- <td>12.0</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>{{CompatIE("6.0")}}</td>
- <td>{{CompatOpera("9.0")}}</td>
- <td>{{CompatSafari("3.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>IE Mobile</th>
- <th>Opera Mini</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatAndroid("2.2")}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatIE("10.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("12.0")}}</td>
- <td>{{CompatSafari("3.1")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.at-rules.font-face.font-family")}}
diff --git a/files/zh-cn/web/css/@font-face/font-style/index.html b/files/zh-cn/web/css/@font-face/font-style/index.html
index 10d0af4e08..660323dade 100644
--- a/files/zh-cn/web/css/@font-face/font-style/index.html
+++ b/files/zh-cn/web/css/@font-face/font-style/index.html
@@ -81,53 +81,4 @@ font-style: oblique;</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table" style="height: 91px; width: 591px;">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>4.0  </td>
- <td>4.0</td>
- <td>10.0</td>
- <td>3.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>IE Mobile</th>
- <th>Opera Mini</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>10.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-</div>
+{{Compat("css.at-rules.font-face.font-style")}}