[css-typed-om] Add a 'values' attribute to all variadic CSSMathValues.
This patch adds the 'values' attribute to CSSMathSum/Product/Min/Max. 'values' is a CSSNumericArray, which is an array of CSSNumericValues representing the arguments to the CSSMathValue. We make the variadic CSSMathValues inherit from a new class CSSMathVariadic so that all the boilerplate with working with multiple arguments are in one place. Note that CSSNumericArray is not spec'd, but we based the implementation off https://github.com/w3c/css-houdini-drafts/issues/486 Spec: https://drafts.css-houdini.org/css-typed-om-1/#complex-numeric Bug: 776173 Change-Id: I1079b31993ecb02f31c2fe93ebf31c548fa6025c Reviewed-on: https://chromium-review.googlesource.com/762887Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Renée Wright <rjwright@chromium.org> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#516223}
Showing
Please register or sign in to comment