Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 29 additions & 2 deletions features/device-orientation-events.yml
Original file line number Diff line number Diff line change
@@ -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
60 changes: 60 additions & 0 deletions features/device-orientation-events.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading