[css-properties-values-api] Support composite for custom property lists.
This CL implements CSSCustomListInterpolationType::Composite by adapting the callback passed to ListInterpolationFunctions to the Composite function of the inner interpolation type. For the current set of supported syntaxes, only <length-percentage> uses non-interpolable values. This CL adds a NonInterpolableValuesAreCompatibleCallback which DCHECKs that we don't have any non-interpolable values (except for <length-percentage>). This ensures that we don't forget to update this function if we add support for new types to css-properties-values-api in the future. Bug: 981024 Change-Id: Iccaaa779a2de0446a7bf9823cdb3e42161b07f26 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1688832 Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by:Robert Flack <flackr@chromium.org> Cr-Commit-Position: refs/heads/master@{#682700}
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment