Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CSSMathExpressionNumericLiteral canonical units eager simplification
Spec def: "If root is a dimension that is not expressed in its canonical unit, and there is enough information available to convert it to the canonical unit, do so, and return the value." https://w3c.github.io/csswg-drafts/css-values/#calc-simplification However, Numbers should not be eagerly simplified at this time since that would result in converting Integers to Doubles (kNumber, canonical unit for Numbers). R=xiaochengh Bug: 1050968 Change-Id: I79adfbd516be640be51b86e1b33a2693c3b51ed9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4367363 Reviewed-by: Xiaocheng Hu <[email protected]> Commit-Queue: Traian Captan <[email protected]> Cr-Commit-Position: refs/heads/main@{#1121473}
- Loading branch information