aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/document/selectionchange_event
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/document/selectionchange_event')
-rw-r--r--files/zh-cn/web/api/document/selectionchange_event/index.html75
1 files changed, 1 insertions, 74 deletions
diff --git a/files/zh-cn/web/api/document/selectionchange_event/index.html b/files/zh-cn/web/api/document/selectionchange_event/index.html
index 7b5018d4cc..1902170455 100644
--- a/files/zh-cn/web/api/document/selectionchange_event/index.html
+++ b/files/zh-cn/web/api/document/selectionchange_event/index.html
@@ -65,80 +65,7 @@ document.onselectionchange = () => {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<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</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("52")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>on <code>HTMLInputElement</code> and <code>HTMLTextAreaElement</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("52")}} - [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</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>Edge</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>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("52")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>on <code>HTMLInputElement</code> and <code>HTMLTextAreaElement</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("52")}} - [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] - Experimental support in Nightly behind the <code>dom.select_events.textcontrols.enabled</code> preference. Support for input and textarea is currently not part of the specification.</p>
+{{Compat("api.Document.selectionchange_event")}}
<h2 id="参考">参考</h2>