diff options
Diffstat (limited to 'files/zh-cn/web/api/deviceorientationevent/index.html')
-rw-r--r-- | files/zh-cn/web/api/deviceorientationevent/index.html | 56 |
1 files changed, 1 insertions, 55 deletions
diff --git a/files/zh-cn/web/api/deviceorientationevent/index.html b/files/zh-cn/web/api/deviceorientationevent/index.html index a65efefa94..ba480d47ec 100644 --- a/files/zh-cn/web/api/deviceorientationevent/index.html +++ b/files/zh-cn/web/api/deviceorientationevent/index.html @@ -52,61 +52,7 @@ translation_of: Web/API/DeviceOrientationEvent <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>7.0 [1]</td> - <td>6 [2]</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>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome for Android</th> - </tr> - <tr> - <td>Basic support</td> - <td>3.0</td> - <td>{{CompatVersionUnknown}} [1]</td> - <td>6 [2]</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>4.2</td> - <td>{{CompatVersionUnknown}} [1]</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] 在版本50之前Chrome为该事件提供绝对的值而非相对的值。开发者仍需使用绝对的值,当使用{{domxref("ondeviceorientationabsolute")}} 事件时.</p> - -<p>[2] 火狐3.6, 4, and 5支持<a href="/en-US/DOM/MozOrientation">mozOrientation </a>而非标准的 <code>DeviceOrientationEvent</code></p> +{{Compat("api.DeviceOrientationEvent")}} <h2 id="参考">参考</h2> |