servo/components/canvas
bors-servo 8518553805
Auto merge of #25551 - pylbrecht:raqote, r=jdm
Fix canvas wpt test `path-objects/2d.path.rect.zero.4.html`

<!-- Please describe your changes on the following line: -->
After connecting the lines of a rectangle, a new subpath has to be created containing the rectangle's origin as the only point in the subpath.
(see step 4 of https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-rect)

---
<!-- 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 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. -->
2020-01-19 18:51:20 -05:00
..
webgl_mode Use non-IPC webrender API over explicit IPC channels. 2019-11-27 20:47:53 -05:00
azure_backend.rs Handle empty paths in PathBuilder::get_current_point() 2019-12-17 19:51:57 +01:00
build.rs Print an error message if neither Canvas 2D backend is selected 2019-07-01 15:46:36 +02:00
canvas_data.rs Create new subpath with origin after drawing rect 2020-01-19 09:23:18 +01:00
canvas_paint_thread.rs Use non-IPC webrender API over explicit IPC channels. 2019-11-27 20:47:53 -05:00
Cargo.toml Add support for WebGL2 uniform matrix operations 2020-01-17 11:42:45 +01:00
lib.rs Use non-IPC webrender API over explicit IPC channels. 2019-11-27 20:47:53 -05:00
raqote_backend.rs Remove duplication for creating gradient stops 2019-12-17 19:52:03 +01:00
webgl_limits.rs Add initial support for WebGL2 uniform buffer functions 2020-01-09 11:17:50 +01:00
webgl_thread.rs Add support for WebGL2 uniform matrix operations 2020-01-17 11:42:45 +01:00