Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd support for background-repeat: space and round #13331
Conversation
highfive
commented
Sep 20, 2016
|
Heads up! This PR modifies the following files:
|
|
|
Thanks. I've updated the PR, so hopefully this build error is fixed. |
|
@mrobinson I landed a WR update with dummy settings for the tile spacing API change here https://github.com/servo/servo/pull/13309/files today. So it should be fine to update this PR to pass the new values through to WR if you like. |
|
@glennw Okay. I've updated the PR. WebRender support for background-repeat space should now be included. |
|
I think the Windows build failure is #13340. |
|
r=me for the display list parts and cargo.lock. Someone else should check over the parser / geckolib bits. r? @emilio or @SimonSapin |
|
r=me for the gecko changes. @bors-servo: r=glennw,emilio Thanks for this Martin! |
|
|
| image_size: Au) { | ||
| if *size == Au::new(0) || image_size == Au::new(0) { | ||
| *position = Au::new(0); | ||
| *size =Au::new(0); |
This comment has been minimized.
This comment has been minimized.
emilio
Sep 21, 2016
Member
nit: Minor formatting nit, there's a space missing here and in the previous function. Also, I think the usual way we write an empty Au value is Au(0) directly, though not sure if this has changed recently (please disregard it if that's the case).
Please fix these nits if any test fails, or otherwise in a followup, thanks!
This comment has been minimized.
This comment has been minimized.
Add support for background-repeat: space and round <!-- Please describe your changes on the following line: --> Add support for new background-repeat modes and upgrade Euclid, which now has support for basic arithmetic with Size2D. --- <!-- 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 - [ ] These changes fix #__ (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. --> This adds support for more background-repeat modes using the legacy rasterization backend. <!-- 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/13331) <!-- Reviewable:end -->
|
|
highfive
commented
Sep 22, 2016
|
|
|
|
|
|
This adds support for more background-repeat modes using the legacy rendering backend.
|
@bors-servo r=emilio |
|
|
|
|
Add support for background-repeat: space and round <!-- Please describe your changes on the following line: --> Add support for new background-repeat modes and upgrade Euclid, which now has support for basic arithmetic with Size2D. --- <!-- 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 - [ ] These changes fix #__ (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. --> This adds support for more background-repeat modes using the legacy rasterization backend. <!-- 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/13331) <!-- Reviewable:end -->
|
|
|
@bors-servo: retry |
|
|
|
|
mrobinson commentedSep 20, 2016
•
edited by jdm
Add support for new background-repeat modes and upgrade Euclid, which now has support for basic arithmetic with Size2D.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis adds support for more background-repeat modes using the legacy
rasterization backend.
This change is