- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Mon, 01 May 2023 18:23:09 +0000
- To: public-css-archive@w3.org
https://webidl.spec.whatwg.org/#dfn-read-only > It is language binding specific whether assignment is simply disallowed by the language, ignored or an exception is thrown. For ECMAScript, in https://webidl.spec.whatwg.org/#define-the-attributes the setter will be undefined. So per https://tc39.es/ecma262/#sec-putvalue the behavior will be that it throws in strict mode and it silently fails otherwise. TL;DR: Marking it as `readonly` would make assignments throw in strict mode. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8778#issuecomment-1530043918 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 1 May 2023 18:23:11 UTC