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
Fix parsing methods of column-{gap,width} #15662
Conversation
Heads up! This PR modifies the following files: |
r? @upsuper or @Manishearth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. r=me with that question addressed.
Thanks for doing this! :)
spec="https://drafts.csswg.org/css-multicol/#propdef-column-gap"> | ||
use std::fmt; | ||
use style_traits::ToCss; | ||
use values::HasViewportPercentage; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these imports really necessary? huh
@bors-servo delegate+ |
✌️ @canaltinova can now approve this pull request |
@emilio After discussing with @Manishearth, I reverted changes on longhands. Instead deleted previous generic |
@bors-servo r+ |
📌 Commit 19978f2 has been approved by |
Fix parsing methods of column-{gap,width} <!-- Please describe your changes on the following line: --> They weren't accepting {normal, auto} keywords. Fixed parsing methods of these properties. --- <!-- 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 #15088 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes <!-- 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/15662) <!-- Reviewable:end -->
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-gnu-dev, windows-msvc-dev |
They weren't accepting {normal, auto} keywords. Fixed parsing methods of these properties.
./mach build -d
does not report any errors./mach test-tidy
does not report any errorsThis change is