[w3c/webcomponents] odd custom element placement (#869)

Here's my custom elements placed correctly:

http://51.38.51.120/issue/arrow.html

Here's my custom elements placed oddly:

http://51.38.51.120/issue/arrow_2.html

When the wrapped text is removed from the element, placement is correct:

http://51.38.51.120/issue/arrow_3.html

Can anyone explain this behaviour? 
Is it so that one should not wrap anything in a custom element if there's no slot for it?

Element source:

http://51.38.51.120/issue/custom-arrow.js

Element github: 

https://github.com/jutunen/custom-arrow

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/869

Received on Wednesday, 11 March 2020 20:49:25 UTC