-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add support for background-repeat: space and round #13331
Conversation
Heads up! This PR modifies the following files:
|
|
43d88e3
to
62ab2d9
Compare
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. |
62ab2d9
to
ccd43d6
Compare
@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! |
📌 Commit ccd43d6 has been approved by |
image_size: Au) { | ||
if *size == Au::new(0) || image_size == Au::new(0) { | ||
*position = Au::new(0); | ||
*size =Au::new(0); |
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.
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!
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.
Thanks. These are fixed now.
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 -->
💔 Test failed - linux-rel |
|
ccd43d6
to
c571689
Compare
📌 Commit c571689 has been approved by |
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit c571689 has been approved by |
This adds support for more background-repeat modes using the legacy rendering backend.
c571689
to
68ae97f
Compare
@bors-servo r=emilio |
📌 Commit 68ae97f has been approved by |
⌛ Testing commit 68ae97f with merge efdd94a... |
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 -->
💔 Test failed - mac-rel-wpt |
⚡ Previous build results for arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, windows-dev are reusable. Rebuilding only mac-rel-wpt... |
☀️ Test successful - arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows-dev |
Add support for new background-repeat modes and upgrade Euclid, which now has support for basic arithmetic with Size2D.
./mach build -d
does not report any errors./mach test-tidy
does not report any errorsThis adds support for more background-repeat modes using the legacy
rasterization backend.
This change is