Re: [csswg-drafts] [css-scroll-snap-2] SnapEvent interface: Why are SnapEventInit fields optional and nullable? (#13487)

Err, for it to be valid WebIDL it should just have a default null value, not required. I.e., I think it should be:

```webidl
dictionary SnapEventInit : EventInit {
  Node? snapTargetBlock = null;
  Node? snapTargetInline = null;
};

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13487#issuecomment-3897187525 using your GitHub account


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

Received on Friday, 13 February 2026 13:14:57 UTC