aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/document/hasfocus/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/document/hasfocus/index.html')
-rw-r--r--files/zh-cn/web/api/document/hasfocus/index.html56
1 files changed, 1 insertions, 55 deletions
diff --git a/files/zh-cn/web/api/document/hasfocus/index.html b/files/zh-cn/web/api/document/hasfocus/index.html
index e7386bd4d1..ec78276982 100644
--- a/files/zh-cn/web/api/document/hasfocus/index.html
+++ b/files/zh-cn/web/api/document/hasfocus/index.html
@@ -65,58 +65,4 @@ translation_of: Web/API/Document/hasFocus
<h3 id="浏览器兼容性"><span>浏览器兼容性</span></h3>
-<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</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("1.9") }}</td>
- <td>6.0</td>
- <td>{{ CompatNo() }}</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 Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1.9") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Specification" name="Specification">规范</h3>
-
-<ul>
- <li><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/#focus-management">Focus management </a></li>
-</ul>
-
-<p>{{ languages( { "en": "en/DOM/document.hasFocus","es": "es/DOM/element.hasFocus", "fr": "fr/DOM/document.hasFocus", "ja": "ja/DOM/document.hasFocus", "pl": "pl/DOM/document.hasFocus" } ) }}</p>
+{{Compat("api.Document.hasFocus")}}