Re: [css-houdini-drafts] [css-typed-om] .equals methods for CSSStyleValue subclasses

So there are several cases here:

1. Both UnitValues, equal unit: just compare values
2. Both UnitValues, different but compatible units: convert values, compare?
3. Both CalcValues, all terms pair up with equal-unit terms: just compare values
4. Both CalcValues, all terms can group by canonical unit, then can all pair up: convert values, compare?
5. UnitValue & CalcValue, Calc has same unit: just compare values
6. UnitValue & CalcValue, Calc has compatible units: convert values, compare?

This all sound good? Any cases I'm missing?

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/325#issuecomment-285165020 using your GitHub account

Received on Wednesday, 8 March 2017 20:51:21 UTC