Fix filling of two vector fields for geckolib

This commit is contained in:
Xidorn Quan 2017-01-13 16:43:27 +11:00
parent cc8bee8f89
commit 679d9dece7
2 changed files with 3 additions and 3 deletions

View file

@ -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": if shorthand == "background":
fill_fields += " mAttachment" fill_fields += " mAttachment mBlendMode"
else: else:
# mSourceURI uses mImageCount # mSourceURI uses mImageCount
fill_fields += " mMaskMode mComposite" fill_fields += " mMaskMode mComposite"

View file

@ -416,5 +416,5 @@ ${helpers.single_keyword("background-blend-mode",
"""normal multiply screen overlay darken lighten color-dodge """normal multiply screen overlay darken lighten color-dodge
color-burn hard-light soft-light difference exclusion hue color-burn hard-light soft-light difference exclusion hue
saturation color luminosity""", saturation color luminosity""",
vector="true", products="gecko", animatable=False, vector=True, products="gecko", animatable=False,
spec="https://drafts.fxtf.org/compositing/#background-blend-mode")} spec="https://drafts.fxtf.org/compositing/#background-blend-mode")}