Re: [w3c/webcomponents] HTML parser: align custom elements with the template element (#630)

Fair point. 

Just for the sake of argument though - the limitation of `<p>` is in the HTML parser not in the DOM itself. You can append the`<div>` or any other blocked element as a child of the custom element via javascript and it all renders fine with the **inline** custom element inside the `<p>`, since the slotted content's layout is purely controlled in the shadow dom.

I do not want to harp on this for no reason, I have seen these issues in real and it's hard to explain people who use my components. Also, I was trying to show support for the title of the issue about dealing with custom elements akin to templates for parsing purposes. 

-- 
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/630#issuecomment-534899109

Received on Wednesday, 25 September 2019 07:51:22 UTC