- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Thu, 24 Apr 2025 05:40:02 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 24 April 2025 12:40:07 UTC
saschanaz created an issue (whatwg/webidl#1485) ### What is the issue with the Web IDL Standard? It's very easy to just write `boolean foo;` in dictionaries even when it's not really expected to be tristate. There are certainly intentional tristate booleans like `passive` of `EventListenerOptions`, but maybe we should guide the new specs to use enums for such multistate instead or use nullable booleans (`boolean? foo = null`)? (I don't have a definite list of accidental tristate booleans in specs, for now this is just what I observed when dealing with Gecko IDL.) -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/issues/1485 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/issues/1485@github.com>
Received on Thursday, 24 April 2025 12:40:07 UTC