aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/document/head/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/document/head/index.html')
-rw-r--r--files/zh-cn/web/api/document/head/index.html47
1 files changed, 2 insertions, 45 deletions
diff --git a/files/zh-cn/web/api/document/head/index.html b/files/zh-cn/web/api/document/head/index.html
index 30eac3f791..48d4df94de 100644
--- a/files/zh-cn/web/api/document/head/index.html
+++ b/files/zh-cn/web/api/document/head/index.html
@@ -21,51 +21,8 @@ alert( document.head === document.querySelector("head") ); // true
<p><code>document.head</code> 是个只读属性,为该属性赋值只会静默失败,如果在严格模式中,则会抛出<code>TypeError</code>异常。</p>
<h2 id="浏览器兼容性">浏览器兼容性</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</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.0</td>
- <td>{{CompatGeckoDesktop("2")}}</td>
- <td>9.0</td>
- <td>11.0</td>
- <td>5.0</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 Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2")}}</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.Document.head")}}
+
<h2 id="Specification" name="Specification">规范</h2>
<ul>
<li><a href="http://www.w3.org/TR/html5/dom.html#dom-tree-accessors">HTML5: DOM Tree Accessors</a></li>