- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 14 Sep 2016 02:11:38 +0000
- To: public-houdini-archive@w3.org
tabatkins has just created a new issue for https://github.com/w3c/css-houdini-drafts: == When doing CSSStyleValue.parse(), what should throw vs return null? == The old (very incomplete) definition of CSSStyleValue.parse() said that things returned null if they didn't parse. I've rewritten it in a proper algorithmic style, and identified three possible error locations. Which should throw, and which should return null? (Currently, the spec throws for all of them.) 1. Property name isn't an ident. 2. Property name is an ident, but not recognized as a CSS property. 3. Valid property name, but property value doesn't match the grammar of that property. Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/305 using your GitHub account
Received on Wednesday, 14 September 2016 02:11:56 UTC