stylo: Correct computed value of mask-image.

This commit is contained in:
cku 2017-04-11 16:44:44 +08:00
parent ca3cd64d6b
commit 10c8dbdefd
2 changed files with 3 additions and 15 deletions

View file

@ -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