Re: [csswg-drafts] [cssom] allow text in CSSStyleSheet constructor (#12110)

Presumably the example would be

```js
new CSSStyleSheet({ text: ":host{ /* styles */ }" })
```

Or do you want the parameter to be either a `CSSStyleSheetInit` or a string?

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12110#issuecomment-2840417775 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 29 April 2025 22:57:28 UTC