[css-houdini-drafts] [css-typed-om] Should StylePropertyMap.set work even when the property is not in the property model?

darrnshn has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-typed-om] Should StylePropertyMap.set work even when the property is not in the property model? ==
With [StylePropertyMap.set](https://drafts.css-houdini.org/css-typed-om-1/#set-a-value-on-a-stylepropertymap), if I do something like
```
styleMap.set('width', '10px')
```
and the styleMap doesn't have 'width', the spec says it's a no-op ("If StylePropertyMap’s property model contains an entry for property, let entry be that entry. Otherwise, exit the algorithm."). Intuitively, `set` should work independent of whether width is in the property model or not right?

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/501 using your GitHub account

Received on Friday, 27 October 2017 02:54:12 UTC