mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Auto merge of #16707 - CJKu:bug-1359787, r=manish
Stylo: Implement {specified|computed}::LayerImage. <!-- Please describe your changes on the following line: --> Bug 1359787 - Stylo: Unite the implementation of background-image/ mask-image and border-image-source in {background|svg|border}.mako.rs --- <!-- 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: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/16707) <!-- Reviewable:end -->
This commit is contained in:
commit
896a920ff5
10 changed files with 100 additions and 267 deletions
|
@ -827,8 +827,8 @@ mod shorthand_serialization {
|
|||
let mut properties = Vec::new();
|
||||
|
||||
let image = single_vec_value_typedef!(image,
|
||||
image::single_value::SpecifiedValue::Image(
|
||||
Image::Url(SpecifiedUrl::new_for_testing("http://servo/test.png"))));
|
||||
image::single_value::SpecifiedValue(
|
||||
Some(Image::Url(SpecifiedUrl::new_for_testing("http://servo/test.png")))));
|
||||
|
||||
let mode = single_vec_keyword_value!(mode, luminance);
|
||||
|
||||
|
@ -882,8 +882,8 @@ mod shorthand_serialization {
|
|||
let mut properties = Vec::new();
|
||||
|
||||
let image = single_vec_value_typedef!(image,
|
||||
image::single_value::SpecifiedValue::Image(
|
||||
Image::Url(SpecifiedUrl::new_for_testing("http://servo/test.png"))));
|
||||
image::single_value::SpecifiedValue(
|
||||
Some(Image::Url(SpecifiedUrl::new_for_testing("http://servo/test.png")))));
|
||||
|
||||
let mode = single_vec_keyword_value!(mode, luminance);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue