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

annevk left a comment (whatwg/webidl#1485)

T? as dictionary member is only tri-state with a default value. Otherwise you have a quad-state. Which I think we have at least one legitimate example of, but prolly also many illegitimate.

And then coupled with that we want to discourage null in favor of undefined. And we prolly don’t want to rewrite everything.

Maybe TriState and QuadState is the most straightforward for now?

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

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

Received on Tuesday, 21 April 2026 15:57:06 UTC