- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 27 Dec 2024 18:27:11 +0000
- To: public-css-archive@w3.org
The API expects the raw property name, not a CSS value. For example, `.setProperty("--a b", value)` sets the `--a b` property, which in CSS you would need to escape with something like `--a\ b: value`. And of course this is not just for `setProperty`, the `item()` indexing returns the raw name, `getPropertyValue` expects the raw name, etc. Parsing/serializing some of them as CSS values but not others would just break things. And I don't really see the benefit of changing them all. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11418#issuecomment-2563935384 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 27 December 2024 18:27:12 UTC