mirror of
https://github.com/servo/servo.git
synced 2025-07-02 21:13:39 +01:00
Fix radial gradient's <size>/<ending-shape> parsing <!-- Please describe your changes on the following line: --> Parsing now handles sizes and shapes in various order. I had to delete `EndingShape`'s parse implementation and mix it with `Position` in `parse_radial`. It became a bit complicated to read but I couldn't make it simpler. r? @Manishearth --- <!-- 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 #13664 (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/13804) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
computed | ||
specified | ||
mod.rs |