mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Parsing "0" as Number for line-height and border-image-outset Fixes #15171 by correctly parsing `0` as `0` (rather than as `0px`, as was the case earlier) for the `line-height` and `border-image-outset` CSS properties. Wrote unit tests for both; `./mach test-unit -p style` passes all tests. --- <!-- 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 #15171 <!-- 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/15278) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
gfx | ||
layout | ||
net | ||
net_traits | ||
profile | ||
script | ||
servo_config | ||
servo_remutex | ||
style | ||
stylo |