diff options
author | bors-servo <servo-ops@mozilla.com> | 2020-04-03 13:57:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 13:57:33 -0400 |
commit | f7d3d4a44762b3196c8dcbe58b628b5a23fc7833 (patch) | |
tree | 5819a72bd74332222deb651fde69fd5b9a4c3ab0 /components/layout_thread/dom_wrapper.rs | |
parent | 7ba88247baf27eddde07cd6097bd0f2de0171122 (diff) | |
parent | 61fb84d6a09b04f7d2de2ebbda3db0d10925561f (diff) | |
download | servo-f7d3d4a44762b3196c8dcbe58b628b5a23fc7833.tar.gz servo-f7d3d4a44762b3196c8dcbe58b628b5a23fc7833.zip |
Auto merge of #26065 - dralley:fix-motionmark, r=cbrewster,SimonSapin
Don't send empty canvases to WebRender
If any dimension of a canvas is 0, don't try to display it as it causes
problems inside webrender.
Minimal test case available here: https://github.com/servo/servo/issues/21411#issuecomment-605226547
---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)
<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because ___
<!-- 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/layout_thread/dom_wrapper.rs')
0 files changed, 0 insertions, 0 deletions