diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-10-29 19:48:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-29 19:48:27 -0500 |
commit | 357e746a9a37a68604fe5ae1c3fb30334f75b4ac (patch) | |
tree | bfcaaddfecc80534498effffdba7f7700ef27b9c /python/tidy/servo_tidy/tidy.py | |
parent | b611e5c3b219e8f6aa9a7937aa7f5ea552762cd4 (diff) | |
parent | 0fc38f79d64f217b7a9421ffbd40da6d763b9eb1 (diff) | |
download | servo-357e746a9a37a68604fe5ae1c3fb30334f75b4ac.tar.gz servo-357e746a9a37a68604fe5ae1c3fb30334f75b4ac.zip |
Auto merge of #13908 - aethanyc:add-border-width-keyword, r=emilio
Use enum BorderWidth as SpecifiedValue
Use enum BorderWidth instead of a tuple-like struct to store the specified
value. BorderWidth is needed to be used in both longhand and shorthand
border width properties, so I put it in `specified` module.
Fixed #13869.
---
<!-- 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 #13869 (github issue number if applicable).
<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- 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/13908)
<!-- Reviewable:end -->
Diffstat (limited to 'python/tidy/servo_tidy/tidy.py')
0 files changed, 0 insertions, 0 deletions