From 679d9dece7214add1a5a92e6d0ff0392c36151a4 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Fri, 13 Jan 2017 16:43:27 +1100 Subject: [PATCH] Fix filling of two vector fields for geckolib --- components/style/properties/gecko.mako.rs | 4 ++-- components/style/properties/longhand/background.mako.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index 4d3b1c999ca..0488ed31479 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -1774,9 +1774,9 @@ fn static_assert() { } <% - fill_fields = "mRepeat mClip mOrigin mPositionX mPositionY mImage" + fill_fields = "mRepeat mClip mOrigin mPositionX mPositionY mImage mSize" if shorthand == "background": - fill_fields += " mAttachment" + fill_fields += " mAttachment mBlendMode" else: # mSourceURI uses mImageCount fill_fields += " mMaskMode mComposite" diff --git a/components/style/properties/longhand/background.mako.rs b/components/style/properties/longhand/background.mako.rs index a69f6fe6de6..ca790ab884c 100644 --- a/components/style/properties/longhand/background.mako.rs +++ b/components/style/properties/longhand/background.mako.rs @@ -416,5 +416,5 @@ ${helpers.single_keyword("background-blend-mode", """normal multiply screen overlay darken lighten color-dodge color-burn hard-light soft-light difference exclusion hue saturation color luminosity""", - vector="true", products="gecko", animatable=False, + vector=True, products="gecko", animatable=False, spec="https://drafts.fxtf.org/compositing/#background-blend-mode")}