mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Stylo: Update test cases in serialize.rs for mask-image and background-image.
This commit is contained in:
parent
3c3e7f63ee
commit
748359f4c4
1 changed files with 4 additions and 4 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