mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Parse backdrop-filter CSS property.
Differential Revision: https://phabricator.services.mozilla.com/D35816
This commit is contained in:
parent
960be2fd01
commit
1aef82f806
1 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue