You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bit of a nit :) The return type of CSSNumericValue.to is currently CSSNumericValue, but I think we could change it to CSSUnitValue. I only raised this issue for consistency since CSSNumericValue.toSum returns a CSSMathSum and not a CSSNumericValue.
The text was updated successfully, but these errors were encountered:
CSSNumericValue.toSum returns a CSSMathSum and not a CSSNumericValue.
so CSSNumericValue.to should return CSSUnitValue for consistency.
w3c/css-houdini-drafts#525
Bug: 800927
Change-Id: I8fe800f224367943a060e8ef422405f8007eaa77
Reviewed-on: https://chromium-review.googlesource.com/861690
Reviewed-by: Darren Shen <shend@chromium.org>
Commit-Queue: Hwanseung Lee <hs1217.lee@samsung.com>
Cr-Commit-Position: refs/heads/master@{#528861}
A bit of a nit :) The return type of
CSSNumericValue.to
is currentlyCSSNumericValue
, but I think we could change it toCSSUnitValue
. I only raised this issue for consistency sinceCSSNumericValue.toSum
returns aCSSMathSum
and not aCSSNumericValue
.The text was updated successfully, but these errors were encountered: