- From: Brian K <notifications@github.com>
- Date: Tue, 20 Apr 2021 00:11:34 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 20 April 2021 07:11:46 UTC
Not being able to make custom elements self closing starts to introduce some serious room for error when dealing with slots. This renders the default content of the slot: ```<my-element></my-element>``` This renders the slot as empty (replaced with whitespace): ```<my-element> </my-element>``` The difference between the two is easy to miss and is problematic, _especially_ when distributing components to outside users. `<my-element />` would be much clearer. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/624#issuecomment-823032851
Received on Tuesday, 20 April 2021 07:11:46 UTC