diff --git a/features/device-orientation-events.yml b/features/device-orientation-events.yml index 4ec1f5bd62c..23b4811472c 100644 --- a/features/device-orientation-events.yml +++ b/features/device-orientation-events.yml @@ -1,6 +1,33 @@ name: Device orientation events -# TODO: Add a note that coordinates can differ noticeably between platforms and devices -description: The `DeviceMotion` and `DeviceOrientation` events report the movement and orientation of the browser's device in physical space. +description: The `DeviceMotion` and `DeviceOrientation` events report the movement and orientation of the browser's device in physical space. Note that coordinates can differ noticeably between platforms and devices. spec: https://w3c.github.io/deviceorientation/ caniuse: deviceorientation group: sensors +status: + compute_from: api.DeviceMotionEvent +compat_features: + - api.DeviceMotionEvent + - api.DeviceMotionEvent.DeviceMotionEvent + - api.DeviceMotionEvent.acceleration + - api.DeviceMotionEvent.accelerationIncludingGravity + - api.DeviceMotionEvent.interval + - api.DeviceMotionEvent.requestPermission_static + - api.DeviceMotionEvent.rotationRate + - api.DeviceMotionEventAcceleration + - api.DeviceMotionEventAcceleration.x + - api.DeviceMotionEventAcceleration.y + - api.DeviceMotionEventAcceleration.z + - api.DeviceMotionEventRotationRate + - api.DeviceMotionEventRotationRate.alpha + - api.DeviceMotionEventRotationRate.beta + - api.DeviceMotionEventRotationRate.gamma + - api.DeviceOrientationEvent + - api.DeviceOrientationEvent.DeviceOrientationEvent + - api.DeviceOrientationEvent.absolute + - api.DeviceOrientationEvent.alpha + - api.DeviceOrientationEvent.beta + - api.DeviceOrientationEvent.gamma + - api.DeviceOrientationEvent.requestPermission_static + - api.Window.devicemotion_event + - api.Window.deviceorientation_event + - api.Window.deviceorientationabsolute_event diff --git a/features/device-orientation-events.yml.dist b/features/device-orientation-events.yml.dist index 4c254260c58..a7341aa8647 100644 --- a/features/device-orientation-events.yml.dist +++ b/features/device-orientation-events.yml.dist @@ -46,3 +46,63 @@ compat_features: - api.DeviceMotionEvent.interval - api.DeviceMotionEvent.rotationRate - api.Window.devicemotion_event + + # baseline: false + # support: + # chrome: "7" + # chrome_android: "18" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari: "17" + - api.DeviceOrientationEvent.absolute + + # baseline: false + # support: + # chrome: "31" + # chrome_android: "31" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari_ios: "4.2" + - api.DeviceMotionEventAcceleration + - api.DeviceMotionEventAcceleration.x + - api.DeviceMotionEventAcceleration.y + - api.DeviceMotionEventAcceleration.z + - api.DeviceMotionEventRotationRate + - api.DeviceMotionEventRotationRate.alpha + - api.DeviceMotionEventRotationRate.beta + - api.DeviceMotionEventRotationRate.gamma + + # baseline: false + # support: + # chrome: "50" + # chrome_android: "50" + # edge: "79" + # firefox: "110" + # firefox_android: "110" + - api.Window.deviceorientationabsolute_event + + # baseline: false + # support: + # chrome: "59" + # chrome_android: "59" + # edge: "14" + # firefox: "17" + # firefox_android: "17" + - api.DeviceOrientationEvent.DeviceOrientationEvent + + # baseline: false + # support: + # chrome: "59" + # chrome_android: "59" + # edge: "14" + # firefox: "29" + # firefox_android: "29" + - api.DeviceMotionEvent.DeviceMotionEvent + + # baseline: false + # support: + # safari_ios: "14.5" + - api.DeviceMotionEvent.requestPermission_static + - api.DeviceOrientationEvent.requestPermission_static