mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Make background-image an array for stylo
This commit is contained in:
parent
3a5a56807a
commit
38b57c435d
2 changed files with 69 additions and 61 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue