aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/mouseevent/offsetx/index.html
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-02 20:22:51 +0900
committerIrvin <irvinfly@gmail.com>2022-03-04 01:03:17 +0800
commit9a110dee28ae2ef12ee014b98fda6bae6ee48edb (patch)
tree6525763f4313d7d8f42aefa699765f61ee1c63df /files/zh-cn/web/api/mouseevent/offsetx/index.html
parenteeddb651b6e8deb8ecabc2bc5bc28c8ead25cca5 (diff)
downloadtranslated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.gz
translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.bz2
translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.zip
Migrate to Compat macro (zh-cn)
Diffstat (limited to 'files/zh-cn/web/api/mouseevent/offsetx/index.html')
-rw-r--r--files/zh-cn/web/api/mouseevent/offsetx/index.html73
1 files changed, 1 insertions, 72 deletions
diff --git a/files/zh-cn/web/api/mouseevent/offsetx/index.html b/files/zh-cn/web/api/mouseevent/offsetx/index.html
index 28c6719863..7f2f545fe4 100644
--- a/files/zh-cn/web/api/mouseevent/offsetx/index.html
+++ b/files/zh-cn/web/api/mouseevent/offsetx/index.html
@@ -40,78 +40,7 @@ translation_of: Web/API/MouseEvent/offsetX
<h2 id="Browser_compatibility" name="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</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>6</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Redefined from <code>long</code> to <code>double</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{ CompatUnknown() }}</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 Webview</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("43.0")}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>Redefined from <code>long</code> to <code>double</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.offsetX")}}
<h2 id="See_also" name="See_also">相关内容</h2>