[deviceorientation] Pull Request: DeviceOrientationEvent: Define absolute's value on error

rakuco has just submitted a new pull request for https://github.com/w3c/deviceorientation:

== DeviceOrientationEvent: Define absolute's value on error ==
We were only requiring alpha, beta, and gamma to be null. It makes sense to
also require implementations to set absolute to the same value as well.

At the time of writing, this is done for completeness' sake though:
- Blink implements this behavior and sets absolute to false when a
  deviceorientation cannot be provided, and to true for
  deviceorientationabsolute events.
- Gecko does not send any events if it cannot provide readings (e.g. when
  there are no sensors available).
- WebKit only ships an iOS implementation, whose IDL does not even have an
  absolute attribute.

Fixes #119.


See https://github.com/w3c/deviceorientation/pull/139


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 13 February 2024 12:30:25 UTC