Auto merge of #17845 - asajeffrey:script-paint-worklet-background-size, r=glennw

Use CSS background-size property when computing the size of a paint worklet

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

The size of a paint worklet should be based on the background-size CSS property.

---
<!-- 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 #17676.
- [X] These changes do not require tests because the existing css-paint-api tests catch this.

<!-- 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/17845)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-08-07 16:54:35 -05:00 committed by GitHub
commit a624496cc4
4 changed files with 11 additions and 13 deletions

View file

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

View file

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

View file

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