Re: [deviceorientation] DeviceMotionEvent atttributes can't be null per current IDL (#91)

cc @annevk and @bzbarsky (in case you are still interested).

Am I right here? https://github.com/heycam/webidl/issues/793 seems to be saying otherwise.

Also, could we make the syntax more intuitive:

```webidl
dictionary Foo {
  DeviceAccelerationInit init = {}; // where it can't be null, just as arguments do
};

dictionary Bar {
  DeviceAccelerationInit? init = null; // where it really can be null
};
```

-- 
GitHub Notification of comment by saschanaz
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/91#issuecomment-727601295 using your GitHub account


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

Received on Sunday, 15 November 2020 16:57:03 UTC