Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPanic when setting canvas width or height #17277
Closed
Labels
Comments
|
IRC conversation with @bzbarsky: http://logs.glob.uno/?c=mozilla%23servo&s=12+Jun+2017&e=12+Jun+2017#c695098 TL;DR we should clear the WR image id when we resize a canvas. |
bors-servo
added a commit
that referenced
this issue
Jun 13, 2017
…en-resizing, r=emilio Clear webrender image id when resizing a canvas. <!-- Please describe your changes on the following line: --> Webrender isn't very happy if images change size, so clear the webrender image key when resizing a canvas. --- <!-- 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 #17277 - [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/17278) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setting the canvas dimensions causes a panic. For example:
produces: