- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Mon, 29 Apr 2019 17:53:46 +0000
- To: public-houdini-archive@w3.org
emilio has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-properties-values-api] Interaction with setProperty is unfortunate. == The reasoning for that is intentional apparently: https://github.com/w3c/css-houdini-drafts/issues/778#issuecomment-406440820 But I think it's still weird that: ```js let div = document.createElement("div"); div.style.setProperty("--foo", "bar"); ``` Behaves differently to: ```js let div = document.createElement("div"); div.setAttribute("style", "--foo: bar"); ``` Is this behavior up-for-discussion? I think it is really unfortunate. cc @andruud @tabatkins Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/880 using your GitHub account
Received on Monday, 29 April 2019 17:53:48 UTC