aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/globaleventhandlers
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/globaleventhandlers')
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/index.html272
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onabort/index.html55
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onanimationcancel/index.html58
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onanimationend/index.html59
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onanimationiteration/index.html59
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html52
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/ondragleave/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/ondrop/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/ongotpointercapture/index.html58
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html58
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onpointercancel/index.html58
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onpointerdown/index.html58
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onpointermove/index.html56
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onpointerup/index.html56
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onselectionchange/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onselectstart/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/ontouchcancel/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/ontouchmove/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/ontouchstart/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onwheel/index.html58
20 files changed, 20 insertions, 1315 deletions
diff --git a/files/zh-cn/web/api/globaleventhandlers/index.html b/files/zh-cn/web/api/globaleventhandlers/index.html
index defba0cdf7..bdfc9bcfef 100644
--- a/files/zh-cn/web/api/globaleventhandlers/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/index.html
@@ -210,277 +210,7 @@ translation_of: Web/API/GlobalEventHandlers
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</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>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>oncanplay</code>, <code>oncanplaythrough</code>, <code>ondurationchange</code>, <code>onemptied</code>, <code>onended</code>, <code>onloadeddata</code>, <code>onloadedmetadata</code>, <code>onloadstart</code>, <code>onpause</code>, <code>onplay</code>, <code>onplaying</code>, <code>onprogress</code>, <code>onratechange</code>, <code>onseeked</code>, <code>onseeking</code>, <code>onstalled</code>, <code>ontimeupdate</code>, <code>onvolumechange</code>, <code>onwaiting</code></td>
- <td>{{CompatGeckoDesktop(1.9.1)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onsuspend</code></td>
- <td>{{CompatGeckoDesktop(1.9.2)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>ondrag</code>, <code>ondragend</code>, <code>ondragenter</code>, <code>ondragleave</code>, <code>ondragover</code>, <code>ondragstart</code>, <code>ondrop</code></td>
- <td>{{CompatGeckoDesktop(1.9.1)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmouseenter</code>, <code>onmouseleave</code></td>
- <td>{{CompatGeckoDesktop(10)}}</td>
- <td>30.0</td>
- <td>5.5</td>
- <td>17</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>ondragexit</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>oncancel</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onclose</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>oncuechange</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>ondragexit</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmousewheel</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onsort</code> {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmozfullscreenchange</code>, <code>onmozfullscreenerror</code> {{non-standard_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>onpointerlockchange</code>, <code>onpointerlockerror</code></td>
- <td>{{CompatGeckoDesktop(10)}} as <code>onmozpointerlockchange</code>, <code>onmozpointerlockerror</code></td>
- <td>{{CompatVersionUnknown}} as <code>onwebkitpointerlockchange</code>, <code>onwebkitpointerlockerror</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onpointercancel</code>, <code>onpointerdown</code>, <code>onpointerup</code>, <code>onpointermove</code>, <code>onpointerout</code>, <code>onpointerover</code>, <code>onpointerenter</code>, <code>onpointerleave</code>, <code>ongotpointercapture</code>, <code>onlostpointercapture</code></td>
- <td>{{CompatVersionUnknown}} behind the <code>dom.w3c_pointer_events.enabled</code> pref (disabled by default)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</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>{{CompatVersionUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>ondrag</code>, <code>ondragend</code>, <code>ondragenter</code>, <code>ondragleave</code>, <code>ondragover</code>, <code>ondragstart</code>, <code>ondrop</code></td>
- <td>{{CompatGeckoMobile(1.9.1)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>oncanplay</code>, <code>oncanplaythrough</code>, <code>ondurationchange</code>, <code>onemptied</code>, <code>onended</code>, <code>onloadeddata</code>, <code>onloadedmetadata</code>, <code>onloadstart</code>, <code>onpause</code>, <code>onplay</code>, <code>onplaying</code>, <code>onprogress</code>, <code>onratechange</code>, <code>onseeked</code>, <code>onseeking</code>, <code>onstalled</code>, <code>ontimeupdate</code>, <code>onvolumechange</code>, <code>onwaiting</code></td>
- <td>{{CompatGeckoMobile(1.9.1)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmouseenter</code>, <code>onmouseleave</code></td>
- <td>{{CompatGeckoMobile(10)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onsuspend</code></td>
- <td>{{CompatGeckoMobile(1.9.2)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>ondragexit</code></td>
- <td>{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>oncancel</code></td>
- <td>{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onclose</code></td>
- <td>{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>oncuechange</code></td>
- <td>{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>ondragexit</code></td>
- <td>{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmousewheel</code></td>
- <td>{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onsort</code></td>
- <td>{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmozfullscreenchange</code>, <code>onmozfullscreenerror</code> {{non-standard_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td rowspan="1">{{CompatNo}}</td>
- <td rowspan="1">{{CompatNo}}</td>
- <td rowspan="1">{{CompatNo}}</td>
- <td rowspan="1">{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>onpointerlockchange</code>, <code>onpointerlockerror</code></td>
- <td>{{CompatGeckoMobile(10)}} as <code>onmozpointerlockchange</code>, <code>onmozpointerlockerror</code></td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onpointercancel</code>, <code>onpointerdown</code>, <code>onpointerup</code>, <code>onpointermove</code>, <code>onpointerout</code>, <code>onpointerover</code>, <code>onpointerenter</code>, <code>onpointerleave</code>, <code>ongotpointercapture</code>, <code>onlostpointercapture</code></td>
- <td>{{CompatVersionUnknown}} behind the <code>dom.w3c_pointer_events.enabled</code> pref (disabled by default)</td>
- <td rowspan="1">{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatNo}}</td>
- <td rowspan="1">{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onabort/index.html b/files/zh-cn/web/api/globaleventhandlers/onabort/index.html
index ad8954c149..4bf9712099 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onabort/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onabort/index.html
@@ -46,57 +46,4 @@ translation_of: Web/API/GlobalEventHandlers/onabort
<h2 id="浏览器兼容性"> 浏览器兼容性</h2>
<article>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<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>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-</article>
+{{Compat("api.GlobalEventHandlers.onabort")}}
diff --git a/files/zh-cn/web/api/globaleventhandlers/onanimationcancel/index.html b/files/zh-cn/web/api/globaleventhandlers/onanimationcancel/index.html
index 3e0a11176a..6ba74e1d2e 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onanimationcancel/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onanimationcancel/index.html
@@ -182,63 +182,7 @@ translation_of: Web/API/GlobalEventHandlers/onanimationcancel
<h2 id="Browser_compatibility">Browser compatibility</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>Microsoft Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] For details on the status of implementation in Firefox, see {{bug(1302648)}}.</p>
+{{Compat("api.GlobalEventHandlers.onanimationcancel")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onanimationend/index.html b/files/zh-cn/web/api/globaleventhandlers/onanimationend/index.html
index b1b7b071d9..121ad37fb5 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onanimationend/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onanimationend/index.html
@@ -41,64 +41,7 @@ translation_of: Web/API/GlobalEventHandlers/onanimationend
<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>Microsoft Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed)</td>
- <td>{{CompatGeckoDesktop(51)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed)</td>
- <td>{{CompatGeckoMobile(51)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed)</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.onanimationend")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onanimationiteration/index.html b/files/zh-cn/web/api/globaleventhandlers/onanimationiteration/index.html
index 9214d6754c..11a70ba017 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onanimationiteration/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onanimationiteration/index.html
@@ -161,64 +161,7 @@ box.onanimationiteration = function(event) {
<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>Microsoft Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed)</td>
- <td>{{CompatGeckoDesktop(51)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed)</td>
- <td>{{CompatGeckoMobile(51)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed)</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.onanimationiteration")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html b/files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html
index 54a0357139..af7eb951b3 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html
@@ -62,54 +62,4 @@ button.onauxclick = function() {
<h2 id="Browser_Compatibility">Browser Compatibility</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 (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(53)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</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>Android Webview</th>
- <th>Chrome for 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>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(53)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.onauxclick")}}
diff --git a/files/zh-cn/web/api/globaleventhandlers/ondragleave/index.html b/files/zh-cn/web/api/globaleventhandlers/ondragleave/index.html
index bce1cf2d8d..41ae2a8954 100644
--- a/files/zh-cn/web/api/globaleventhandlers/ondragleave/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/ondragleave/index.html
@@ -135,59 +135,7 @@ function init() {
<h2 id="Browser_compatibility">Browser compatibility</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>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.ondragleave")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/ondrop/index.html b/files/zh-cn/web/api/globaleventhandlers/ondrop/index.html
index 3de1e294a8..d727983768 100644
--- a/files/zh-cn/web/api/globaleventhandlers/ondrop/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/ondrop/index.html
@@ -98,59 +98,7 @@ function dragover_handler(ev) {
<h2 id="Browser_compatibility">Browser compatibility</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>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.ondrop")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/ongotpointercapture/index.html b/files/zh-cn/web/api/globaleventhandlers/ongotpointercapture/index.html
index 84acc36582..d5c4c134ae 100644
--- a/files/zh-cn/web/api/globaleventhandlers/ongotpointercapture/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/ongotpointercapture/index.html
@@ -50,63 +50,7 @@ function init() {
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(57.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(44)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(57.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(57.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.ongotpointercapture")}}
<h2 id="See_also" name="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html b/files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html
index ab570209ad..d0d87a1aae 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html
@@ -56,63 +56,7 @@ function init() {
<p><font face="x-locale-heading-primary, zillaslab, Palatino, Palatino Linotype, x-locale-heading-secondary, serif"><span style="font-size: 40px;"><strong>浏览器兼容性</strong></span></font></p>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(57.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(44)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(57.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(57.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.onlostpointercapture")}}
<h2 id="See_also" name="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onpointercancel/index.html b/files/zh-cn/web/api/globaleventhandlers/onpointercancel/index.html
index 26f5ead6dc..9fcd7988b7 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onpointercancel/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onpointercancel/index.html
@@ -64,63 +64,7 @@ function init() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table" style="height: 127px; width: 847px;">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>支持基础</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatOpera(42)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>支持基础</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatOperaMobile(42)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.onpointercancel")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onpointerdown/index.html b/files/zh-cn/web/api/globaleventhandlers/onpointerdown/index.html
index c538841be5..76a66be72e 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onpointerdown/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onpointerdown/index.html
@@ -64,63 +64,7 @@ function init() {
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatOpera(42)}}</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>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatOperaMobile(42)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.onpointerdown")}}
<h2 id="sect1"> </h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onpointermove/index.html b/files/zh-cn/web/api/globaleventhandlers/onpointermove/index.html
index 3407af3671..e83000b774 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onpointermove/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onpointermove/index.html
@@ -71,61 +71,7 @@ function init() {
<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</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("35")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(59)}}</td>
- <td>10 {{property_prefix("-ms")}}<br>
- 11</td>
- <td>{{CompatUnknown}}</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>Chrome for 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>{{CompatChrome("35")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("29")}}<sup>[2]</sup></td>
- <td>10 {{property_prefix("-ms")}}<br>
- 11</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This was implemented in <a href="http://crbug.com/248918">bug 248918</a>.</p>
-
-<p>[2] Supported behind the preference <code>dom.w3c_pointer_events.enabled</code>, defaulting to <code>false</code>.</p>
+{{Compat("api.GlobalEventHandlers.onpointermove")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onpointerup/index.html b/files/zh-cn/web/api/globaleventhandlers/onpointerup/index.html
index c529bc8232..2bb0fcf023 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onpointerup/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onpointerup/index.html
@@ -64,61 +64,7 @@ function init() {
<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</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("35")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(59)}}</td>
- <td>10 {{property_prefix("-ms")}}<br>
- 11</td>
- <td>{{CompatUnknown}}</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>Chrome for 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>{{CompatChrome("35")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("29")}}<sup>[2]</sup></td>
- <td>10 {{property_prefix("-ms")}}<br>
- 11</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This was implemented in <a href="http://crbug.com/248918">bug 248918</a>.</p>
-
-<p>[2] Supported behind the preference <code>dom.w3c_pointer_events.enabled</code>, defaulting to <code>false</code>.</p>
+{{Compat("api.GlobalEventHandlers.onpointerup")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onselectionchange/index.html b/files/zh-cn/web/api/globaleventhandlers/onselectionchange/index.html
index 845410cb97..d7f7baae3f 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onselectionchange/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onselectionchange/index.html
@@ -42,59 +42,7 @@ document.onselectionchange = function() {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</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(43)}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop(52)}}<sup>[2]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>1.3</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><code>onselectionchange</code></td>
- <td>{{CompatGeckoMobile(43)}}<sup>[1]</sup><br>
- {{CompatGeckoMobile(52)}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This is implemented behind the <code>dom.select_events.enabled</code> preference, which defaults to <code>false</code> except on Nightly.</p>
-
-<p>[2] This is now fully enabled on Firefox 52 release version.</p>
+{{Compat("api.GlobalEventHandlers.onselectionchange")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onselectstart/index.html b/files/zh-cn/web/api/globaleventhandlers/onselectstart/index.html
index 370aea1346..b04add77d9 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onselectstart/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onselectstart/index.html
@@ -42,59 +42,7 @@ translation_of: Web/API/GlobalEventHandlers/onselectstart
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</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(43)}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop(52)}}<sup>[2]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>1.3</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><code>onselectionchange</code></td>
- <td>{{CompatGeckoMobile(43)}}<sup>[1]</sup><br>
- {{CompatGeckoMobile(52)}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This is implemented behind the <code>dom.select_events.enabled</code> preference, which defaults to <code>false</code> except on Nightly.</p>
-
-<p>[2] This is now fully enabled on Firefox 52 release version.</p>
+{{Compat("api.GlobalEventHandlers.onselectstart")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/ontouchcancel/index.html b/files/zh-cn/web/api/globaleventhandlers/ontouchcancel/index.html
index faba488dc4..1f7c8a93e8 100644
--- a/files/zh-cn/web/api/globaleventhandlers/ontouchcancel/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/ontouchcancel/index.html
@@ -65,59 +65,7 @@ function init() {
<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> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.ontouchcancel")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/ontouchmove/index.html b/files/zh-cn/web/api/globaleventhandlers/ontouchmove/index.html
index 55006ef33f..21465d4677 100644
--- a/files/zh-cn/web/api/globaleventhandlers/ontouchmove/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/ontouchmove/index.html
@@ -67,59 +67,7 @@ function init() {
<h2 id="Browser_compatibility">Browser compatibility</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>{{CompatChrome(18.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.ontouchmove")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/ontouchstart/index.html b/files/zh-cn/web/api/globaleventhandlers/ontouchstart/index.html
index 58499d061c..0f10f74ff4 100644
--- a/files/zh-cn/web/api/globaleventhandlers/ontouchstart/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/ontouchstart/index.html
@@ -65,59 +65,7 @@ function init() {
<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>{{CompatChrome(18.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.ontouchstart")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html b/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html
index 05dfa596ef..d39f5a2212 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html
@@ -104,63 +104,7 @@ document.onwheel = zoom;</pre>
<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 (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>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</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>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="注意">注意</h3>
-
-<p>当用户在相应元素上滚动滑轮便触发 {{ event("wheel") }} 事件。</p>
+{{Compat("api.GlobalEventHandlers.onwheel")}}
<h2 id="参见">参见</h2>