Re: [w3ctag/design-reviews] Question: should `shadowrootadoptedstylesheets` perform a fetch? (Issue #1195)

frederikbosch left a comment (w3ctag/design-reviews#1195)

@justinfagnani Grammatically speaking I find it weird that a *shadow* is able to define its esthetics. Should a shadow not be a reflection of the host element, whether that is a defined or custom element? Moreover the word *adopted* suggests there is a relationship with another element that provides the adoption, namely the host. Therefore, I find it conceptually better to let the host provide the stylesheets, which the shadow adopts and thus that the `.adoptedStyleSheets` is a result of the relationship between host and shadow.

```html
<!-- next to host-for, maybe the word adopt would better display the relationship between host and shadow --> 
<div host-for="specifier"></div>
<div adopt="specifier"></div>

<custom-element host-for="specifier"></custom-element>
<custom-element adopt="specifier"></custom-element>
```

The fact I am more focused on custom elements is probably because that this is where I use the Shadow DOM for.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/1195#issuecomment-4363561876
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/1195/4363561876@github.com>

Received on Saturday, 2 May 2026 10:09:54 UTC