Auto merge of #17364 - asajeffrey:script-paint-worklets-properties, r=jdm

Implement paint worklet properties

<!-- Please describe your changes on the following line: -->

This is the final PR to get basic paint worklet support. It adds support for paint worklet properties (https://drafts.css-houdini.org/css-paint-api/#paint-definition-input-properties). When a paint worklet is registered, it specifies a list of CSS properties, and is provided with their computed values when it is invoked.

This is a dependent PR:
* "Implemented paint worklets invoking worklet scripts" is #17239.
* "Implemented paint worklets rendering contexts" is #17326.

There should be tests added for this, hopefully the existing wpt houdini tests.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16839
- [x] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17364)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-07-11 16:24:18 -07:00 committed by GitHub
commit bc44246fc6
29 changed files with 353 additions and 118 deletions

View file

@ -9966,6 +9966,11 @@
{}
]
],
"mozilla/css-paint-api/resources/html5.png": [
[
{}
]
],
"mozilla/css-paint-api/valid-image-after-load-ref.html": [
[
{}
@ -26164,6 +26169,10 @@
"e4b544068821f6f8882f05836a07a19891fc85b8",
"reftest"
],
"mozilla/css-paint-api/resources/html5.png": [
"83ef56b6e4d0dcb0d2dcecfb3fc78035051e8627",
"support"
],
"mozilla/css-paint-api/valid-image-after-load-ref.html": [
"b0c34ee1480fe1108fe8dc53f2bbb2f3ffa1c408",
"support"

View file

@ -1,4 +0,0 @@
[background-image-tiled.html]
type: reftest
expected: FAIL
bug: https://github.com/servo/servo/issues/17598

View file

@ -1,4 +0,0 @@
[invalid-image-constructor-error.html]
type: reftest
expected: FAIL
bug: https://github.com/servo/servo/issues/17595

View file

@ -1,4 +0,0 @@
[invalid-image-paint-error.html]
type: reftest
expected: FAIL
bug: https://github.com/servo/servo/issues/17595

View file

@ -1,4 +0,0 @@
[invalid-image-pending-script.html]
type: reftest
expected: FAIL
bug: https://github.com/servo/servo/issues/17595

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB