aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/csssupportsrule
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/csssupportsrule
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/csssupportsrule')
-rw-r--r--files/zh-cn/web/api/csssupportsrule/index.html52
1 files changed, 1 insertions, 51 deletions
diff --git a/files/zh-cn/web/api/csssupportsrule/index.html b/files/zh-cn/web/api/csssupportsrule/index.html
index 2bea90d1bb..a75d902cf4 100644
--- a/files/zh-cn/web/api/csssupportsrule/index.html
+++ b/files/zh-cn/web/api/csssupportsrule/index.html
@@ -44,57 +44,7 @@ translation_of: Web/API/CSSSupportsRule
<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>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("17")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>12.10</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>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("17")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 作为前叠这规则是没有意义的 <code>CSSSupportsRule</code> 只支持,如果用户可以通过设置配置的值i<code>layout.css.supports-rule.enable</code> 的真实.</p>
-
-<p>从Firefox 17到 Firefox 19 在内, <code>CSSSupportsRule</code> 直接来自 <code>CSSRule</code> 的方法和属性定义在 <code>CSSConditionRule</code>现在的水平,在 <code>CSSSupportsRule</code>定义.该规范草案改变了,并已更新了 Firefox 20 was updated.</p>
+{{Compat("api.CSSSupportsRule")}}
<h2 id="See_also">See also</h2>