Re: [whatwg/webidl] Mandate a default value for boolean dictionary members? (Issue #1485)

annevk left a comment (whatwg/webidl#1485)

I kinda like this idea, but how would we enforce it? We'd need to syntactically distinguish the intentional tri-state booleans somehow.

(https://dom.spec.whatwg.org/#dictdef-mutationobserverinit is also a valid use of tri-state booleans, in my opinion.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1485#issuecomment-2827491604
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1485/2827491604@github.com>

Received on Thursday, 24 April 2025 12:46:01 UTC