- From: L. David Baron via GitHub <sysbot+gh@w3.org>
- Date: Fri, 26 Jan 2018 23:00:32 +0000
- To: public-houdini-archive@w3.org
dbaron has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-typed-om] "get all values from a StylePropertyMap" assumes underlying model might not be list == Typed OM defines an [algorithm to get all values from a `StylePropertyMap`](https://drafts.css-houdini.org/css-typed-om-1/#get-all-values-from-a-stylepropertymap). This says: > 3. If StylePropertyMap’s property model contains an entry for property: > > 1. If property is a list-valued property, return the list of values assigned to that property. > > 2. If property is not a list-valued property, let values initially be the empty list and append the value assigned to the property to this list and return values. However, earlier the spec [says](https://drafts.css-houdini.org/css-typed-om-1/#the-stylepropertymap): > A StylePropertyMapReadOnly object has an associated property model, which is a list of property - sequence<CSSStyleValue> pairs. Given this, it's not clear why this distinction between list-valued and non-list-valued properties needs to be made; they're all represented as `sequence<CSSStyleValue>`. Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/571 using your GitHub account
Received on Friday, 26 January 2018 23:00:39 UTC