- From: Tab Atkins Jr. <notifications@github.com>
- Date: Wed, 12 Dec 2018 09:18:48 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 12 December 2018 17:19:10 UTC
The reason to not require them all to be explicit is that *literally almost every single attribute* needs a slot. Almost every attribute is a getter/setter pair that manipulates the internal slot; the only exceptions are the rare "weird" attributes that map to more complicated stuff like `.innerHTML`. Requiring editors to write identical boilerplate for 95+% of attributes is absolutely backwards. (And in the implicit-slot world, `[NoSlot]` isn't even a behavioral difference, just a hint to the implementor that the spec's algorithms will never manipulate the corresponding internal slot, so it can be elided from the internal representation entirely.) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/pull/495#issuecomment-446669280
Received on Wednesday, 12 December 2018 17:19:10 UTC