Re: [WICG/webcomponents] Provide a means of identifying Constructable StyleSheet instances from browser dev tools. (Issue #1024)

Just tried this out, and it seems to work only in Chrome, but if you construct a new CSSStyleSheet with an options object containing a title, it'll appear in the devtools.

```
(() => {
  const sheet = new CSSStyleSheet({title: 'test sheet'});
  sheet.replaceSync('* {color: red;}');
  return sheet;
})();
```

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

Message ID: <WICG/webcomponents/issues/1024/1680943934@github.com>

Received on Wednesday, 16 August 2023 16:46:26 UTC