diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2020-02-10 22:59:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-10 22:59:37 -0500 |
commit | 8e657877379eaabc0540eaeffb49f6f67879432f (patch) | |
tree | ff62c7aec35c46ba8b470dfa2448b554085d66d3 /components/script/dom/blob.rs | |
parent | 7b540945cd4d0bdf471a72cfbd4a9a1cdc726978 (diff) | |
parent | 423b86e439dc2bff1a9860511f3ace8b4778d85e (diff) | |
download | servo-8e657877379eaabc0540eaeffb49f6f67879432f.tar.gz servo-8e657877379eaabc0540eaeffb49f6f67879432f.zip |
Auto merge of #25675 - pylbrecht:draw.image, r=jdm
Add usability checks to CanvasRenderingContext2D.drawImage()
<!-- Please describe your changes on the following line: -->
These changes add the usability checks performed on an image to be drawn to the canvas.
References:
- https://html.spec.whatwg.org/multipage/canvas.html#drawing-images
- https://html.spec.whatwg.org/multipage/canvas.html#check-the-usability-of-the-image-argument
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and repla(e `___` 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 part of #25331
<!-- Either: -->
- [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. -->
Diffstat (limited to 'components/script/dom/blob.rs')
0 files changed, 0 insertions, 0 deletions