[css-houdini-drafts] [css-typed-om] Should the product of two unit maps be addition instead of union?

darrnshn has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-typed-om] Should the product of two unit maps be addition instead of union? ==
In the spec (Step 2.3.1.1 for CSSMathProduct in the [sum value section](https://drafts.css-houdini.org/css-typed-om-1/#sum-value)) for multiplying two unit maps, the wording says to take the union of the unit maps. I might be misunderstanding unit maps, but wouldn't that make something like `1px * 1px == { px -> 1 }` instead of `1px * 1px == { px -> 2 }`? Should we add the entries/exponents in the two unit maps instead (like in types)?

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/520 using your GitHub account

Received on Monday, 20 November 2017 03:09:43 UTC