Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change parentheses condition for css math serialization
Previously the condition for adding parentheses for serialization was vast and caused every arithmetic operation to be in parentheses. With time a lot of simplifications were added and now the only case where we can end up with parentheses is when either operand of the multiplication/division is unsimplified add/sub node: (lhs as unsimplified add/sub) [* or /] rhs or lhs [* or /] (rhs as unsimplified add/sub). Change-Id: I7a4d881357205b8c317029cb2c65548a2a39a80f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5062788 Commit-Queue: Daniil Sakhapov <[email protected]> Reviewed-by: Anders Hartvoll Ruud <[email protected]> Cr-Commit-Position: refs/heads/main@{#1230040}
- Loading branch information