- From: denvercoder21 via GitHub <noreply@w3.org>
- Date: Thu, 12 Feb 2026 16:01:40 +0000
- To: public-css-archive@w3.org
denvercoder21 has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-scroll-snap-2] SnapEvent interface: Why are SnapEventInit fields optional and nullable? ==
In the [SnapEvent interface](https://www.w3.org/TR/css-scroll-snap-2/#snapevent-interface), the fields of `SnapEventInit` are optional and nullable:
```
dictionary SnapEventInit : EventInit {
Node? snapTargetBlock;
Node? snapTargetInline;
};
```
Why is that and shouldn't they rather be marked as `required Node?`s?
@emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13487 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 12 February 2026 16:01:41 UTC