mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
stylo: Correct computed value of mask-image.
This commit is contained in:
parent
ca3cd64d6b
commit
10c8dbdefd
2 changed files with 3 additions and 15 deletions
|
@ -2374,8 +2374,8 @@ fn static_assert() {
|
|||
% else:
|
||||
use properties::longhands::mask_image::single_value::computed_value::T;
|
||||
match image {
|
||||
T::Image(image) => geckoimage.mImage.set(image, false, cacheable),
|
||||
_ => () // we need to support url valeus
|
||||
T::Image(image) => geckoimage.mImage.set(image, true, cacheable),
|
||||
_ => ()
|
||||
}
|
||||
% endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue