diff options
author | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-06-15 11:38:17 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-06-15 11:49:57 +0200 |
commit | fa6dd1d61b0b516b5ef4f352c5316a48bd86652f (patch) | |
tree | 6342f8a984a9d98ee2af1a385251240cfe01a29e /components | |
parent | 2086d216ddf2cf87f44dd2da44281daaf810e0a0 (diff) | |
download | servo-fa6dd1d61b0b516b5ef4f352c5316a48bd86652f.tar.gz servo-fa6dd1d61b0b516b5ef4f352c5316a48bd86652f.zip |
stylo: Support the rest of the background-xxx P1 properties.
We do the same that with background-{image, repeat}, we just use the first
element until servo can parse and use a list efficiently.
Diffstat (limited to 'components')
-rw-r--r-- | components/style/properties/longhand/background.mako.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/properties/longhand/background.mako.rs b/components/style/properties/longhand/background.mako.rs index d2e6a090a3b..77be57aa097 100644 --- a/components/style/properties/longhand/background.mako.rs +++ b/components/style/properties/longhand/background.mako.rs @@ -184,7 +184,7 @@ ${helpers.predefined_type( ${helpers.single_keyword("background-repeat", "repeat repeat-x repeat-y no-repeat")} -${helpers.single_keyword("background-attachment", "scroll fixed")} +${helpers.single_keyword("background-attachment", "scroll fixed" + (" local" if product == "gecko" else ""))} ${helpers.single_keyword("background-clip", "border-box padding-box content-box")} |