diff options
author | Xidorn Quan <me@upsuper.org> | 2017-01-13 16:43:27 +1100 |
---|---|---|
committer | Xidorn Quan <me@upsuper.org> | 2017-01-13 16:43:27 +1100 |
commit | 679d9dece7214add1a5a92e6d0ff0392c36151a4 (patch) | |
tree | 3238e242e91d0ad9d877a6b8d31d80a03e540be3 | |
parent | cc8bee8f8990e9bb23171fe65a259978749a9d2f (diff) | |
download | servo-679d9dece7214add1a5a92e6d0ff0392c36151a4.tar.gz servo-679d9dece7214add1a5a92e6d0ff0392c36151a4.zip |
Fix filling of two vector fields for geckolib
-rw-r--r-- | components/style/properties/gecko.mako.rs | 4 | ||||
-rw-r--r-- | 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")} |