Need to follow the resolution in https://github.com/w3c/css-houdini-drafts/issues/489
Note that we have not implemented calc lv4, so we don't have features like min/max. I think we should just throw an exception in these cases.
Reopening this since we have a new serialization algorithm: https://github.com/w3c/css-houdini-drafts/commit/42a9ff03716e0a0282db419b7d7c059fbd5a87a1
Currently, for all the stylevalue subclasses, we've implemented serialization by first converting to CSSValues and then using the CSSOM serialization. However, this won't work for CSSMathValues, as a lot of features are missing from calc CSSValues.
We should just allow subclasses to override the ToString function if they can't use the existing CSSOM serialization.
Comment 1 by shend@chromium.org
, Jan 24 2018Status: Duplicate (was: Available)