mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
Remove IndexSizeError in CanvasRenderingContext2D::drawImage <!-- Please describe your changes on the following line: --> The current spec don't expect the IndexSizeError if the rectangle is empty. --- <!-- 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 #10600 (github issue number if applicable). <!-- 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. --> <!-- 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/16658) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
building-paths | ||
compositing | ||
drawing-images-to-the-canvas | ||
drawing-paths-to-the-canvas | ||
drawing-rectangles-to-the-canvas | ||
drawing-text-to-the-canvas | ||
fill-and-stroke-styles | ||
hit-regions | ||
image-smoothing | ||
imagebitmap | ||
line-styles | ||
path-objects | ||
pixel-manipulation | ||
shadows | ||
text-styles | ||
the-canvas-state | ||
transformations |