aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/htmlelement/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/htmlelement/index.html')
-rw-r--r--files/zh-cn/web/api/htmlelement/index.html211
1 files changed, 1 insertions, 210 deletions
diff --git a/files/zh-cn/web/api/htmlelement/index.html b/files/zh-cn/web/api/htmlelement/index.html
index 3566048a05..7c1bc67d85 100644
--- a/files/zh-cn/web/api/htmlelement/index.html
+++ b/files/zh-cn/web/api/htmlelement/index.html
@@ -282,216 +282,7 @@ translation_of: Web/API/HTMLElement
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.accessKey", "accessKey")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>17.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}(<a class="external" href="http://trac.webkit.org/changeset/107483">535.10</a>)</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.accessKeyLabel", "accessKeyLabel")}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}{{WebkitBug(72715)}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.blur()", "blur()")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.click()", "click()")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}(<a class="external" href="http://trac.webkit.org/changeset/107483">535.24</a>)</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.dataset", "dataset")}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>9.0</td>
- <td>{{CompatUnknown}}</td>
- <td>11.10</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.focus()", "focus()")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.contentEditable", "contentEditable")}}</td>
- <td>{{CompatGeckoDesktop("1.9")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>5.5</td>
- <td>9</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.spellcheck", "spellcheck")}}</td>
- <td>{{CompatGeckoDesktop("1.8.1")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.forceSpellCheck", "forceSpellCheck()")}} {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.dataset", "dataset")}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>8.0</td>
- <td>11</td>
- <td>11.10</td>
- <td>6</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.draggable", "draggable")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>12.0</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.dropzone", "dropzone")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>12.0</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.offsetLeft", "offsetLeft")}}, {{domxref("HTMLElement.offsetTop", "offsetTop")}}, {{domxref("HTMLElement.offsetParent", "offsetParent")}}, {{domxref("HTMLElement.offsetHeight", "offsetHeight")}} and {{domxref("HTMLElement.offsetWidth", "offsetWidth")}} {{experimental_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.translate", "translate")}} {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.itemScope", "itemScope")}}, {{domxref("HTMLElement.itemType", "itemType")}}, {{domxref("HTMLElement.itemRef", "itemRef")}}, {{domxref("HTMLElement.itemId", "itemId")}}, {{domxref("HTMLElement.itemProp", "itemProp")}}, and {{domxref("HTMLElement.itemValue", "itemValue")}} {{experimental_inline}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>11.60<br>
- (Removed in Opera 15)</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.properties", "properties")}} {{experimental_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.ontouchstart")}}, {{domxref("HTMLElement.ontouchend")}}, {{domxref("HTMLElement.ontouchmove")}}, {{domxref("HTMLElement.ontouchenter")}}, {{domxref("HTMLElement.ontouchleave")}}, and {{domxref("HTMLElement.ontouchcancel")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>{{CompatGeckoMobile("1.0")}}</p>
- </td>
- <td rowspan="7">{{CompatUnknown}}</td>
- <td rowspan="7">{{CompatUnknown}}</td>
- <td rowspan="7">{{CompatUnknown}}</td>
- <td rowspan="7">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.accessKey", "accessKey")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.accessKeyLabel", "accessKeyLabel")}}</td>
- <td>{{CompatGeckoMobile("8.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.blur()", "blur()")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.click()", "click()")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.dataset", "dataset")}}</td>
- <td>{{CompatGeckoMobile("6.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.focus()", "focus()")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLElement")}}
<h2 id="sect1"> </h2>