[css-typed-om] Implement CSSStyleValue.parseAll.
CSSStyleValue.parseAll is similar to CSSStyleValue.parse in that it converts a string value into a CSSStyleValue. The main difference is how it handles list-valued properties. Spec: https://drafts.css-houdini.org/css-typed-om-1/#dom-cssstylevalue-parseall To reduce duplication, we move the common logic between parse and parseAll into a helper function. We also change the tests for parseAll because they wrongly expected that parseAll return a CSSStyleValue instead of a sequence of CSSStyleValues. Bug: 775802 Change-Id: I4b6b05d3a164e34709839ca2e059ec3fbf18a993 Reviewed-on: https://chromium-review.googlesource.com/742822 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by:nainar <nainar@chromium.org> Cr-Commit-Position: refs/heads/master@{#513054}
Showing
Please register or sign in to comment