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 upFix `linear_gradients_lengths_a.html` and fix Servo's use of "background-clip" to actually make it work. #9171
Conversation
`linear_gradients_lengths_ref.html` use `background-clip: content-box`. The tests clearly expect the background painting area to have width of 100px, but since the default value of `background-clip` is `border-box` and the boxes in question have a 1-pixel border the background painting areas are actually 102px. This commit fixes the tests so that the width of the background painting area is actually 100px.
determining the painting area for background images and gradients. See: https://drafts.csswg.org/css-backgrounds-3/#the-background-clip
|
Reviewed 3 of 3 files at r1. Comments from the review on Reviewable.io |
|
@bors-servo r+ |
|
|
…rubeck Fix `linear_gradients_lengths_a.html` and fix Servo's use of "background-clip" to actually make it work. See the commit messages for details. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9171) <!-- Reviewable:end -->
|
|
|
@bors-servo: retry |
|
|
|
test failure was #8769 |
|
|
|
@bors-servo: retry |
…rubeck Fix `linear_gradients_lengths_a.html` and fix Servo's use of "background-clip" to actually make it work. See the commit messages for details. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9171) <!-- Reviewable:end -->
|
@bors-servo: retry Infrastructure failure; tests were running forever on one builder and had to be aborted manually. |
…rubeck Fix `linear_gradients_lengths_a.html` and fix Servo's use of "background-clip" to actually make it work. See the commit messages for details. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9171) <!-- Reviewable:end -->
|
|
|
|
|
@bors-servo: retry |
…rubeck Fix `linear_gradients_lengths_a.html` and fix Servo's use of "background-clip" to actually make it work. See the commit messages for details. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9171) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
…rubeck Fix `linear_gradients_lengths_a.html` and fix Servo's use of "background-clip" to actually make it work. See the commit messages for details. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9171) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
|
@bors-servo p=4 |
…rubeck Fix `linear_gradients_lengths_a.html` and fix Servo's use of "background-clip" to actually make it work. See the commit messages for details. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9171) <!-- Reviewable:end -->
|
|
pcwalton commentedJan 6, 2016
See the commit messages for details.
r? @mbrubeck