Do not simplify calculation across math functions
The existing code is too aggressive in simplifying calc() expressions that, math functions (min/max etc) can be simplified away when they can be directly resolved. This doesn't match the spec (*), and is fixed in this patch. (*) https://drafts.csswg.org/css-values-4/#math-function-simplify-a-calculation Bug: 825895 Change-Id: Id5796299da50e40b09bc38bf0271c8f5cd7897de Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825325Reviewed-by:Emil A Eklund <eae@chromium.org> Reviewed-by:
Rune Lillesveen <futhark@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#700132}
Showing
Please register or sign in to comment