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 upcanvas: Cleanup CanvasData and layout and script messages. #14099
Conversation
highfive
commented
Nov 6, 2016
highfive
commented
Nov 6, 2016
|
r? @nox |
|
This fixes #13734. |
|
@bors-servo try |
canvas: Cleanup CanvasData and layout and script messages. <!-- Please describe your changes on the following line: --> --- <!-- 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 <!-- Either: --> - [x] These changes do not require tests because refactoring. <!-- 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/14099) <!-- Reviewable:end -->
|
@bors-servo r+ |
|
|
|
|
|
|
| => return None, | ||
| Some(pixels) => pixels, | ||
| None => { | ||
| // TODO(emilio): Not sure if WebGL canvas is required for 2d |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
emilio
Nov 7, 2016
Author
Member
Hmm, IIRC the last time I looked at this the canvas 2d spec only defined the behavior when another 2d canvas was provided, but yeah, worth investigating and fixing if required.
|
@bors-servo retry |
|
@bors-servo r=nox
|
|
|
|
|
canvas: Cleanup CanvasData and layout and script messages. <!-- Please describe your changes on the following line: --> --- <!-- 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 <!-- Either: --> - [x] These changes do not require tests because refactoring. <!-- 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/14099) <!-- Reviewable:end -->
|
|
emilio commentedNov 6, 2016
•
edited by larsbergstrom
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is