- From: Preet <notifications@github.com>
- Date: Sun, 22 Sep 2019 15:29:16 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 22 September 2019 22:29:38 UTC
Slotted content doesn't get slotted when the custom element is inside a <p> element See live here: https://codesandbox.io/embed/static-dvd6u Works: ```html <div> <my-element> <div class="caption">Red box</div> </my-element> </div> ``` Doesn't work: ```html <p> <my-element> <div class="caption">Red box</div> </my-element> </p> ``` I know <p> is treated specially by the HTML parser. So is this an issue in the spec or the browser implementation? (Both Firefox and Chrome behave the same) -- 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/841
Received on Sunday, 22 September 2019 22:29:38 UTC