enhance-dev / enhance-ssr

Server side render for custom elements.
140 stars 9 forks source link

Adds support for default content in default slot. #62

Closed kristoferjoseph closed 5 months ago

ryanbethel commented 5 months ago

I added a test for unnamed slots with whitespace in them. I am not sure what the expected browser behavior is. <my-button> </my-button> technically has a text node inside. Currently it fails, but maybe the test should be written to expect that. I tested in chrome and this matches what I see.