[deviceorientation] Pull Request: update rotationRate alpha, beta, gamma description to be the same as implementation

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

== update rotationRate alpha, beta, gamma description to be the same as implementation ==
In the devicemotion specification:
https://w3c.github.io/deviceorientation/spec-source-orientation.html#devicemotion
The rotationRate: "It must be expressed as the rate of change of the angles defined in section 4.1"
So it means the rotation axes should be the following:
z axis: alpha
x axis: beta
y axis: gamma

However, Chrome on Android, Firefox browser on Android, and Safari browser on iPhone, they all implement rotationRate as the following:
x axis: alpha
y axis: beta
z axis: gamma

Given that this feature has been implemented in this way for a while and all the above browsers implement it in the same way which is different from the specification, updating the specification seems a better and easy solution. So this pull request updates the devicemotion specification's rotationRate alpha, beta, gamma description to be the same as implementation.

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

Received on Wednesday, 23 August 2017 18:29:49 UTC