- From: Darren Shen via GitHub <sysbot+gh@w3.org>
- Date: Sun, 29 Oct 2017 23:56:56 +0000
- To: public-houdini-archive@w3.org
darrnshn has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-typed-om] What should CSSStyleValue.parseAll do for non-list-valued properties? == Following [the algorithm for parsing a style value](https://drafts.css-houdini.org/css-typed-om-1/#parse-a-cssstylevalue), if we called `parseAll` with a non-list-valued property (e.g. `parseAll('color', 'red')`), then we would skip steps 4 and 5 because it's not a list-valued property, and end up returning a `CSSStyleValue` representing `red` in step 6. However, the return type of `parseAll` is an optional `sequence`. I'm guessing the intention is that we return a single-element sequence containing `red`, but I'm not sure if that's clear from the spec. Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/502 using your GitHub account
Received on Sunday, 29 October 2017 23:56:59 UTC