- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Tue, 18 Apr 2017 05:30:06 +0000
- To: public-houdini-archive@w3.org
That is, throw away CSSCalcValue, in favor of: ``` interface CSSMathValue { attribute CSSMathOperator operator; attribute Array arguments; readonly attribute DOMString type; }; enum CSSMathOperator { "+", "*", "/", "min", "max" }; partial interface CSSNumericValue { record<DOMString, double> toSum(); }; ``` `toSum()` is analogous to `to` - if possible, it collapses it down to a sum of simple units, and represents that as a JS object. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/359#issuecomment-294687656 using your GitHub account
Received on Tuesday, 18 April 2017 05:30:30 UTC