Make background-image an array for stylo

This commit is contained in:
Manish Goregaokar 2016-06-24 16:40:01 +05:30
parent 3a5a56807a
commit 38b57c435d
2 changed files with 69 additions and 61 deletions

View file

@ -10,7 +10,7 @@ ${helpers.predefined_type("background-color", "CSSColor",
"::cssparser::Color::RGBA(::cssparser::RGBA { red: 0., green: 0., blue: 0., alpha: 0. }) /* transparent */",
animatable=True)}
<%helpers:longhand name="background-image" animatable="False">
<%helpers:gecko_autoarray_longhand name="background-image" animatable="False">
use cssparser::ToCss;
use std::fmt;
use values::specified::Image;
@ -70,7 +70,7 @@ ${helpers.predefined_type("background-color", "CSSColor",
}
}
}
</%helpers:longhand>
</%helpers:gecko_autoarray_longhand>
<%helpers:longhand name="background-position" animatable="True">
use cssparser::ToCss;