Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move percentage to mod.rs #18003

Merged
merged 1 commit into from Aug 8, 2017
Merged

Move percentage to mod.rs #18003

merged 1 commit into from Aug 8, 2017

Conversation

@DarkDrek
Copy link
Contributor

DarkDrek commented Aug 7, 2017

The tests in the issue worked for me locally.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #18001 (github issue number if applicable).
  • These changes do not require tests because they are just refactoring

This change is Reviewable

@highfive
Copy link

highfive commented Aug 7, 2017

Heads up! This PR modifies the following files:

  • @bholley: components/style/properties/gecko.mako.rs, components/style/values/computed/length.rs, components/style/values/specified/mod.rs, components/style/values/computed/mod.rs, components/style/values/specified/length.rs
  • @canaltinova: components/style/properties/gecko.mako.rs, components/style/values/computed/length.rs, components/style/values/specified/mod.rs, components/style/values/computed/mod.rs, components/style/values/specified/length.rs
  • @emilio: components/style/properties/gecko.mako.rs, components/style/values/computed/length.rs, components/style/values/specified/mod.rs, components/style/values/computed/mod.rs, components/style/values/specified/length.rs
Copy link
Member

canova left a comment

Looks good to me. Just one more thing.
Thanks for working on this!

write!(dest, "{}%", self.0 * 100.)
}
}

impl ToComputedValue for specified::Percentage {

This comment has been minimized.

@canova

canova Aug 8, 2017

Member

We can move this impl as well.

@KiChjang
Copy link
Member

KiChjang commented Aug 8, 2017

@DarkDrek Could you squash your commits into one?

@DarkDrek DarkDrek force-pushed the DarkDrek:move_percentage branch from c06a8bf to a5b585a Aug 8, 2017
@canova
Copy link
Member

canova commented Aug 8, 2017

Thanks again!
@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Aug 8, 2017

📌 Commit a5b585a has been approved by canaltinova

@bors-servo
Copy link
Contributor

bors-servo commented Aug 8, 2017

Testing commit a5b585a with merge 955b625...

bors-servo added a commit that referenced this pull request Aug 8, 2017
Move percentage to mod.rs

<!-- Please describe your changes on the following line: -->
The tests in the issue worked for me locally.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [X] These changes fix #18001 (github issue number if applicable).

<!-- Either: -->
- [X] These changes do not require tests because they are just refactoring

<!-- 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/18003)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 8, 2017

@bors-servo bors-servo merged commit a5b585a into servo:master Aug 8, 2017
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@bors-servo bors-servo mentioned this pull request Aug 8, 2017
4 of 5 tasks complete
@DarkDrek DarkDrek deleted the DarkDrek:move_percentage branch Aug 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

6 participants
You can’t perform that action at this time.