Repository navigation
Implement pattern fill style for canvas. - #6157
Conversation
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @Manishearth (or someone else) soon. |
|
Critic review: https://critic.hoppipolla.co.uk/r/5076 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
Review status: all files reviewed, 7 unresolved discussions, all commit checks successful.
components/canvas_traits/lib.rs, line 297 [r3] (raw file): components/script/dom/canvaspattern.rs, line 10 [r3] (raw file): components/script/dom/canvasrenderingcontext2d.rs, line 12 [r3] (raw file): components/script/dom/canvasrenderingcontext2d.rs, line 980 [r3] (raw file): tests/wpt/metadata/2dcontext/fill-and-stroke-styles/2d.pattern.image.null.html.ini, line 4 [r3] (raw file): tests/wpt/metadata/2dcontext/fill-and-stroke-styles/2d.pattern.image.string.html.ini, line 4 [r3] (raw file): tests/wpt/metadata/2dcontext/fill-and-stroke-styles/2d.pattern.image.undefined.html.ini, line 4 [r3] (raw file): Comments from the review on Reviewable.io |
|
Review status: 34 of 36 files reviewed, 7 unresolved discussions, some commit checks failed. components/canvas_traits/lib.rs, line 297 [r3] (raw file): components/script/dom/canvaspattern.rs, line 10 [r3] (raw file): components/script/dom/canvasrenderingcontext2d.rs, line 12 [r3] (raw file): components/script/dom/canvasrenderingcontext2d.rs, line 980 [r3] (raw file): tests/wpt/metadata/2dcontext/fill-and-stroke-styles/2d.pattern.image.null.html.ini, line 4 [r3] (raw file): tests/wpt/metadata/2dcontext/fill-and-stroke-styles/2d.pattern.image.string.html.ini, line 4 [r3] (raw file): tests/wpt/metadata/2dcontext/fill-and-stroke-styles/2d.pattern.image.undefined.html.ini, line 4 [r3] (raw file): Comments from the review on Reviewable.io |
|
@nox Thank you for your review! :D |
|
|
Review status: all files reviewed, 3 unresolved discussions, some commit checks failed.
components/canvas_traits/lib.rs, line 297 [r3] (raw file): components/script/dom/canvasrenderingcontext2d.rs, line 12 [r3] (raw file): tests/wpt/metadata/2dcontext/fill-and-stroke-styles/2d.pattern.image.null.html.ini, line 4 [r3] (raw file): It's quite weird because CodegenRust should have generated code that reject such values. I would like to take a look at the generated code but I didn't manage to build Servo with your rust-azure fork. Please just file a follow-up issue or I'll do it myself. Comments from the review on Reviewable.io |
|
Two general remarks:
|
|
Building servo with my rust-azure is being broken because servo/rust-azure@faba68 was already merged but the relevant patch #6065 is in progress. So I've been working with a temporary branch 'my_commits' in hyowon/rust-azure. Review status: all files reviewed, 3 unresolved discussions, some commit checks failed. components/canvas_traits/lib.rs, line 297 [r3] (raw file): components/script/dom/canvasrenderingcontext2d.rs, line 12 [r3] (raw file): tests/wpt/metadata/2dcontext/fill-and-stroke-styles/2d.pattern.image.null.html.ini, line 4 [r3] (raw file): Comments from the review on Reviewable.io |
c14ab0d to
9a4f578
Compare
:) |
|
Review status: all files reviewed, all discussions resolved, some commit checks failed.
Comments from the review on Reviewable.io |
|
The 830 line in components/script/dom/canvasrenderingcontext2d.rs has only '}'. |
|
The problem is probably line 827. |
5bdcb1f to
d2fc700
Compare
|
I've fixed it after rebase. |
|
Review status:
Comments from the review on Reviewable.io |
|
@bors-servo: r+ |
|
📌 Commit d2fc700 has been approved by |
Issue #6056 Depends on servo/rust-azure#160 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6157) <!-- Reviewable:end -->
|
@bors-servo: r- This apparently depends on another PR. Sorry. |
0f84597 to
7a0743b
Compare
|
@nox All done! |
|
@bors-servo: r+ -S-awaiting-review -S-needs-squash +S-awaiting-merge Review status:
Comments from the review on Reviewable.io |
|
📌 Commit 7a0743b has been approved by |
Issue #6056 Depends on servo/rust-azure#160 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6157) <!-- Reviewable:end -->
|
💔 Test failed - mac1 |
7a0743b to
00240e5
Compare
|
@nox Please retry~ |
|
@bors-servo: r=nox |
|
📌 Commit 00240e5 has been approved by |
Issue #6056 Depends on servo/rust-azure#160 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6157) <!-- Reviewable:end -->
Issue #6056
Depends on servo/rust-azure#160