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 upRefactor grid style types and impls #16970
Conversation
highfive
commented
May 20, 2017
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @emilio (or someone else) soon. |
highfive
commented
May 20, 2017
|
Heads up! This PR modifies the following files:
|
highfive
commented
May 20, 2017
|
|
|
|
|
Nice work! Sorry for not looking at this sooner. Ping me once you've rebased and done the changes, and we'll land this :) |
| } | ||
|
|
||
| impl ComputedValueAsSpecified for GridLine { | ||
| } |
This comment has been minimized.
This comment has been minimized.
| Ok(()) | ||
| } | ||
| } | ||
|
|
||
| impl Parse for GridLine { |
This comment has been minimized.
This comment has been minimized.
wafflespeanut
May 21, 2017
Member
Let's also move this Parse impl to generics, since the specified and computed values have the same type anyway.
| /// An `<auto-fit>` keyword allowed only for `<auto-repeat>` | ||
| AutoFit, | ||
| } | ||
|
|
||
| impl Parse for RepeatCount { |
This comment has been minimized.
This comment has been minimized.
| AutoFit, | ||
| } | ||
|
|
||
|
|
This comment has been minimized.
This comment has been minimized.
| } | ||
| } | ||
|
|
||
|
|
This comment has been minimized.
This comment has been minimized.
|
No worries and thanks for your review @wafflespeanut! |
|
Thanks for doing this! @bors-servo r+ |
|
@wafflespeanut: |
|
|
|
@wafflespeanut Homu is case-sensitive; did you rename your account recently? @bors-servo: r=wafflespeanut |
|
|
|
@jdm Yeah, I just realized that. r? servo/saltfs#673 |
|
@bors-servo p=173 |
|
@wafflespeanut: |
|
Great, code hasn't been deployed yet (sigh) |
|
@bors-servo p=2 |
Refactor grid style types and impls Fixes #16949. - [x] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because it's just a refactor <!-- 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/16970) <!-- Reviewable:end -->
|
|
MaloJaffre commentedMay 20, 2017
•
edited
Fixes #16949.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is