Contact emails
Spec
https://docs.google.com/document/d/1NaXxW5zxB9-RamaL9jx3e_msao-GGrvTnfXJpusWf84/edit#
Summary
1. Change the default behavior of 'deviceorientation' to be relative by default
2. Expose an absolute version of the event through 'absolutedeviceorientation'.
Motivation
1. VR head tracking using DeviceOrientationEvent is currently unusable since Chrome only exposes the absolute version of the event.
2. Safari and Chrome implementations of deviceorientation event are not compatible. Chrome's is absolute by default, Safari's is relative.
Compatibility Risk
Negative risk :) This change improves compatibility between Chrome and Safari.
Augmented reality apps built for Chrome (there are very few) that assume absolute values from the magnetometer will need to change to the new absolutedeviceorientation event.
Ongoing technical constraints
No.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
No, this is an Android-specific change.
OWP launch tracking bug
http://crbug.com/531610
Link to entry on the feature dashboard
https://www.chromestatus.com/feature/5661106970296320
Requesting approval to ship?
Yes. The change is small and already mostly implemented behind a flag: https://chromium.googlesource.com/chromium/src/+/843f048e90026b00dadbca5c34e01694ea943785.
On 09/14/2015 09:13 PM, 'Boris Smus' via blink-dev wrote:
Contact emailsThat "spec" doesn't seem to be public.
sm...@google.com <mailto:sm...@google.com>
Spec
https://docs.google.com/document/d/1NaXxW5zxB9-RamaL9jx3e_msao-GGrvTnfXJpusWf84/edit#
SummaryI haven't found any W3C or WhatWG draft describing absolutedeviceorientation event, so
1. Change the default behavior of 'deviceorientation' to be relative by default
2. Expose an absolute version of the event through 'absolutedeviceorientation'.
other browser vendors can't implement it in interoperable way.
-Olli
Motivation
1. VR head tracking using DeviceOrientationEvent is currently unusable since Chrome only exposes the absolute version of the event.
2. Safari and Chrome implementations of deviceorientation event are not compatible. Chrome's is absolute by default, Safari's is relative.
Compatibility Risk
Negative risk :) This change improves compatibility between Chrome and Safari.
Augmented reality apps built for Chrome (there are very few) that assume absolute values from the magnetometer will need to change to the new
absolutedeviceorientation event.
Ongoing technical constraints
No.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
No, this is an Android-specific change.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
This has also been in the official spec now for awhile: http://w3c.github.io/deviceorientation/spec-source-orientation.html#deviceorientationabsolute. It sounds like there's been consensus on this design in the WG. I'm not aware of any other vendors yet shipping the new event, but it's pretty minor and the main value to us is in providing an alternative for developers who wanted our old (not compatible with Safari) behavior.
Please update the chromestatus entry to link to the spec and describe the actual changes: https://www.chromestatus.com/feature/5661106970296320
LGTM1 to ship
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.