-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to define the DeviceMotionEvent constructor #83
Comments
Hmm, existing implementations have conflicting views here.
I don't have an iPhone to test the WebKit implementation. |
WebKit doesn't implement DeviceMotionEvent's constructor, but the differences in behavior between Gecko and Blink still exist (see #91). |
I think the Gecko and Blink behavior difference is #91. I don't think there needs to be any specific prose describing the constructor steps because it comes from https://dom.spec.whatwg.org/#concept-event-constructor and https://dom.spec.whatwg.org/#inner-event-creation-steps |
Closing this and will resolve the implementation differences mentioned in #91. |
https://w3c.github.io/deviceorientation/#devicemotionevent
There's no prose for what the constructor does, but questions that can't be answered from looking at the Web IDL definition.
Specifically, can
acceleration
,accelerationIncludingGravity
androtationRate
ever be null? BecauseDeviceMotionEventInit
takes init dictionaries for these members, I would guess that they can't, but prose could say something about this.The text was updated successfully, but these errors were encountered: