Skip to content

Commit

Permalink
style: Parse backdrop-filter CSS property.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrewster authored and emilio committed Jul 8, 2019
1 parent 960be2f commit 1aef82f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions components/style/properties/longhands/effects.mako.rs
Expand Up @@ -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
Expand Down

0 comments on commit 1aef82f

Please sign in to comment.