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.
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.