Re: [WICG/webcomponents] Custom 'void' or self-closing elements (HTML parser changes) (#624)

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