- From: Elliott Sprehn via GitHub <sysbot+gh@w3.org>
- Date: Thu, 22 Sep 2016 10:28:24 +0000
- To: public-houdini-archive@w3.org
esprehn has just created a new issue for
https://github.com/w3c/css-houdini-drafts:
== [css-typed-om] Should StyleMap be case sensitive? ==
Some folks want us to make the platform more case sensitive. Since
this is a new API, that means we would make it case sensitive. ex.
```js
element.styleMap.get("background-color") // works.
element.styleMap.get("Background-Color") // doesn't work.
```
Unfortunately this also diverges from `.style`, ex.
```js
element.style.getPropertyValue("Color") // works.
element.style.getPropertyValue("COLOR") // works.
```
@annevk @domenic @foolip @tabatkins
Please view or discuss this issue at
https://github.com/w3c/css-houdini-drafts/issues/309 using your GitHub
account
Received on Thursday, 22 September 2016 10:28:41 UTC