aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/html/element/shadow/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/html/element/shadow/index.html')
-rw-r--r--files/zh-cn/web/html/element/shadow/index.html50
1 files changed, 1 insertions, 49 deletions
diff --git a/files/zh-cn/web/html/element/shadow/index.html b/files/zh-cn/web/html/element/shadow/index.html
index 440d8d23ad..29bcc84d46 100644
--- a/files/zh-cn/web/html/element/shadow/index.html
+++ b/files/zh-cn/web/html/element/shadow/index.html
@@ -105,55 +105,7 @@ translation_of: Web/HTML/Element/shadow
<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>35</td>
- <td>{{CompatGeckoDesktop("28")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>26</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>37</td>
- <td>{{CompatGeckoMobile("28")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 如果 Firefox 上没有开启 Shadow DOM, <code>&lt;shadow&gt;</code> 元素会表现为 {{domxref("HTMLUnknownElement")}},Shadow DOM 首先在 Firefox 33 中实现,并且在首选项 <code>dom.webcomponents.enabled</code> 背后,它默认是关闭的。</p>
+{{Compat("html.elements.shadow")}}
<h2 id="另见">另见</h2>