[css-typed-om] Implement CSSMathValue serialization.
This patch implements the new CSSMathValue serialization algorithm [1]. As explained in the bug, this serialization is impossible to do by converting to CSSValues and then serializing them, so we have to implement this from scratch. We tried to make the code follow the spec algorithm as closely as possible for easier understanding/verification. [1] https://drafts.css-houdini.org/css-typed-om-1/#calc-serialization Bug: 803688 Change-Id: I48987d2b76b0bac55389a014588f3fe40aecf10a Reviewed-on: https://chromium-review.googlesource.com/896422Reviewed-by:nainar <nainar@chromium.org> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#533530}
Showing
Please register or sign in to comment