summaryrefslogtreecommitdiffstats
path: root/servo/components/style/properties/longhands
diff options
context:
space:
mode:
Diffstat (limited to 'servo/components/style/properties/longhands')
-rw-r--r--servo/components/style/properties/longhands/font.mako.rs6
-rw-r--r--servo/components/style/properties/longhands/ui.mako.rs14
2 files changed, 14 insertions, 6 deletions
diff --git a/servo/components/style/properties/longhands/font.mako.rs b/servo/components/style/properties/longhands/font.mako.rs
index f188af5b1f..4583de0bd7 100644
--- a/servo/components/style/properties/longhands/font.mako.rs
+++ b/servo/components/style/properties/longhands/font.mako.rs
@@ -305,10 +305,7 @@ ${helpers.predefined_type(
"MathDepth",
"0",
engines="gecko",
- gecko_pref="layout.css.math-depth.enabled",
- has_effect_on_gecko_scrollbars=False,
animation_value_type="none",
- enabled_in="ua",
spec="https://mathml-refresh.github.io/mathml-core/#the-math-script-level-property",
affects="",
)}
@@ -318,11 +315,8 @@ ${helpers.single_keyword(
"normal compact",
engines="gecko",
gecko_enum_prefix="StyleMathStyle",
- gecko_pref="layout.css.math-style.enabled",
spec="https://mathml-refresh.github.io/mathml-core/#the-math-style-property",
- has_effect_on_gecko_scrollbars=False,
animation_value_type="none",
- enabled_in="ua",
needs_conversion=True,
affects="layout",
)}
diff --git a/servo/components/style/properties/longhands/ui.mako.rs b/servo/components/style/properties/longhands/ui.mako.rs
index 1150816ac0..58006e0d65 100644
--- a/servo/components/style/properties/longhands/ui.mako.rs
+++ b/servo/components/style/properties/longhands/ui.mako.rs
@@ -199,6 +199,20 @@ ${helpers.predefined_type(
affects="",
)}
+${helpers.predefined_type(
+ "transition-behavior",
+ "TransitionBehavior",
+ "computed::TransitionBehavior::normal()",
+ engines="gecko",
+ initial_specified_value="specified::TransitionBehavior::normal()",
+ vector=True,
+ need_index=True,
+ animation_value_type="none",
+ gecko_pref="layout.css.transition-behavior.enabled",
+ spec="https://drafts.csswg.org/css-transitions-2/#transition-behavior-property",
+ affects="",
+)}
+
<% animation_extra_prefixes = "moz:layout.css.prefixes.animations webkit" %>
${helpers.predefined_type(