- From: Darren Shen via GitHub <sysbot+gh@w3.org>
- Date: Tue, 31 Oct 2017 04:40:12 +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] Simplifying expressions in CSSMathValue subclasses. == In [the algorithm for adding CSSNumericValues](https://drafts.css-houdini.org/css-typed-om-1/#dom-cssnumericvalue-add), we have an explicit step (Step 3) for simplifying the expression if all values are `CSSUnitValues` with the same unit. However, none of the other subclasses seem to have this step, even though theoretically it should be possible (e.g. `min(2px, 3px) == 2px`). The inconsistency is a bit confusing and makes addition a special case in terms of implementation. Is there any particular reason for making addition simplify but not the others? Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/503 using your GitHub account
Received on Tuesday, 31 October 2017 04:40:25 UTC