Files
firefox/testing/web-platform/tests/css/css-paint-api
Anders Hartvoll Ruud 969d949a7d Bug 1489280 [wpt PR 12881] - Improve test coverage of registered properties in paint worklets., a=testonly
Automatic update from web-platform-testsImprove test coverage of registered properties in paint worklets.

The most important use case for css-properties-values-api is having typed
(and possibly interpolated) custom properties in paint worklets.

So naturally, this is the *least* well tested use case in WPT. This CL
improves that by adding tests for most of the syntax types. The test works
as a kind of "ref" test, which compares the output of CSSStyleValue.parse
/parseAll with the value observed inside the worklet.

<transform-function> and <transform-list> are not supported yet, so they
will come later.

Interpolations should also be tested, but that belongs in a separate test.

Bug: 641877
Change-Id: I4bd310ecd61a2a8989df9c4a5c818cdc7c179b3a
Reviewed-on: https://chromium-review.googlesource.com/1209711
Commit-Queue: Anders Ruud <[email protected]>
Reviewed-by: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/master@{#589461}

--

wpt-commits: e5f7af549a9fe9c35191ad3f1ffaa3b02ed47795
wpt-pr: 12881
2018-09-12 10:42:56 +00:00
..