aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/document/location/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/document/location/index.html')
-rw-r--r--files/zh-cn/web/api/document/location/index.html47
1 files changed, 2 insertions, 45 deletions
diff --git a/files/zh-cn/web/api/document/location/index.html b/files/zh-cn/web/api/document/location/index.html
index bd6429ccab..c8cbd44884 100644
--- a/files/zh-cn/web/api/document/location/index.html
+++ b/files/zh-cn/web/api/document/location/index.html
@@ -38,51 +38,8 @@ document.location = 'http://www.mozilla.org' // Equivalent to document.location.
</tbody>
</table>
<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>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</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>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.Document.location")}}
+
<h2 id="相关链接">相关链接</h2>
<ul>
<li>The interface of the returned value, {{domxref("Location")}}.</li>