- From: Danny Engelman <notifications@github.com>
- Date: Mon, 17 May 2021 08:56:39 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 17 May 2021 15:57:02 UTC
Joe Pea aka trusktr, got me working again. It is still a Work-Around!! To style ``<slot>`` content from a ``<style>`` tag IN the TEMPLATE I rewrote the code.. JS is still the same, except I changed ``...this.children`` to ``...this.childNodes`` to include \#textnodes in the move **from one lightDOM to a nested lightDOM**. I deleted most styling examples and comments. Is this simple enough? **TWO shadowRoots** to style ``<slot>s`` _and_ **not** bleed CSS: https://jsfiddle.net/WebComponents/rhodv143/ -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/889#issuecomment-842439879
Received on Monday, 17 May 2021 15:57:02 UTC