Re: [WICG/webcomponents] "open-stylable" Shadow Roots (#909)

> > Or in an attribute on the shadow host element:
> > ```
> > <custom-element shadowlayers="buttons, inherit.BETTER-BUTTONS">
> > </custom-element>
> > ```
> 
> Shouldn't this attribute go on the `template` element? And similarly be available in `attachShadow()`?

@mayank99 I believe it’s intended to be on the `<template>`, however, in order to support the declarative shadow DOM for the proof of concept it needs to be on the custom element (since DSD templates are removed after they are parsed).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/909#issuecomment-1993681857
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/909/1993681857@github.com>

Received on Wednesday, 13 March 2024 06:51:25 UTC