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
style: Make PercentageOrNumber also reject negative percentages. #16142
Conversation
Heads up! This PR modifies the following files:
|
This seems to come from da27b61, so r? @canaltinova |
Actually, |
Thanks! |
📌 Commit 1ce9758 has been approved by |
style: Make PercentageOrNumber also reject negative percentages. It always returns true, so this is just stupid. <!-- 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/16142) <!-- 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-msvc-dev |
This seems to fix #15339. |
It always returns true, so this is just stupid.
This change is