W3C home > Mailing lists > Public > public-houdini-archive@w3.org > March 2017

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Wed, 08 Mar 2017 20:51:13 +0000
To: public-houdini-archive@w3.org
Message-ID: <issue_comment.created-285165020-1489006262-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 24 October 2017 12:26:08 UTC