style: Parse backdrop-filter CSS property.

Differential Revision: https://phabricator.services.mozilla.com/D35816
This commit is contained in:
Connor Brewster 2019-06-26 23:02:16 +00:00 committed by Emilio Cobos Álvarez
parent 960be2fd01
commit 1aef82f806
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A

View file

@ -57,6 +57,21 @@ ${helpers.predefined_type(
spec="https://drafts.fxtf.org/filters/#propdef-filter",
)}
${helpers.predefined_type(
"backdrop-filter",
"Filter",
None,
vector=True,
simple_vector_bindings=True,
gecko_ffi_name="mBackdropFilters",
separator="Space",
animation_value_type="AnimatedFilterList",
vector_animation_type="with_zero",
flags="CREATES_STACKING_CONTEXT FIXPOS_CB",
gecko_pref="layout.css.backdrop-filter.enabled",
spec="https://drafts.fxtf.org/filter-effects-2/#propdef-backdrop-filter",
)}
${helpers.single_keyword(
"mix-blend-mode",
"""normal multiply screen overlay darken lighten color-dodge