- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Tue, 28 Mar 2023 19:00:47 +0000
- To: public-css-archive@w3.org
I am sorry, `InvalidStateError` would be thrown in the following case:
```js
const sheet = new CSSStyleSheet()
sheet.insertRule('style {}')
sheet.insertRule('@namespace ns "http://ns.org";') // InvalidStateError
```
I guess I miss an hour of sleep...
--
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8654#issuecomment-1487452448 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 28 March 2023 19:00:49 UTC