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

Should we drop 0-valued units from the comparison, so "calc(1px + 0em)" is equal to "1px"?

What if the 0-valued units aren't compatible - is "calc(0px)" equal to "calc(0rad)"?  (I assume no; we'll probably check that they have the same CSS type before checking the individual units.)

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

Received on Wednesday, 8 March 2017 20:53:05 UTC