- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 09 Nov 2017 18:11:25 +0000
- To: public-houdini-archive@w3.org
The Working Group just discussed `Simplifying expressions in CSSMathValue subclasses`, and agreed to the following resolutions: * `RESOLVED: mul/div/invert/max/min should have shortcut just like add/negate/sub` <details><summary>The full IRC log of that discussion</summary> <nainar> Topic: Simplifying expressions in CSSMathValue subclasses<br> <TabAtkins> GitHub: https://github.com/w3c/css-houdini-drafts/issues/503<br> <nainar> TabAtkins: Math operations in class - you can say px.add(some other px value)<br> <nainar> TabAtkins: some operations have shortcuts to return the operation. Have it for add, negate, sub. Dont have it for mul, div, invert, min, max<br> <nainar> TabAtkins: Have a sketch in the issue of how to do it. Apply these shortcuts to all operations or none?<br> <nainar> TabAtkins: Add always returns a CSSMathSum or a unit vaoue if easily computable?<br> <nainar> Rossen: Similiar with what we do to calc? You simplify it down<br> <TabAtkins> https://drafts.css-houdini.org/css-typed-om/#dom-cssnumericvalue-add<br> <nainar> TabAtkins: Yes<br> <nainar> Rossen: would align with what we already expose<br> <nainar> TabAtkins: People who want to increment length by 1 unit will still get a length unit and not complicated expression<br> <nainar> dholbert: addition inside of a loop - would be a good idea<br> <nainar> Rossen: it keeps expanding.<br> <nainar> RESOLVED: mul/div/invert/max/min should have shortcut just like add/negate/sub<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/503#issuecomment-343241804 using your GitHub account
Received on Thursday, 9 November 2017 18:11:30 UTC