mirror of
https://github.com/servo/servo.git
synced 2025-07-13 02:13:40 +01:00
Make most background- properties handle arrays
This commit is contained in:
parent
ce9640a48e
commit
65a8a8dccb
4 changed files with 72 additions and 67 deletions
|
@ -107,18 +107,26 @@ ${helpers.predefined_type("background-color", "CSSColor",
|
|||
|
||||
${helpers.single_keyword("background-repeat",
|
||||
"repeat repeat-x repeat-y no-repeat",
|
||||
vector=True,
|
||||
gecko_only=True,
|
||||
animatable=False)}
|
||||
|
||||
${helpers.single_keyword("background-attachment",
|
||||
"scroll fixed" + (" local" if product == "gecko" else ""),
|
||||
vector=True,
|
||||
gecko_only=True,
|
||||
animatable=False)}
|
||||
|
||||
${helpers.single_keyword("background-clip",
|
||||
"border-box padding-box content-box",
|
||||
vector=True,
|
||||
gecko_only=True,
|
||||
animatable=False)}
|
||||
|
||||
${helpers.single_keyword("background-origin",
|
||||
"padding-box border-box content-box",
|
||||
vector=True,
|
||||
gecko_only=True,
|
||||
animatable=False)}
|
||||
|
||||
<%helpers:longhand name="background-size" animatable="True">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue