mirror of
https://github.com/servo/servo.git
synced 2025-08-29 09:08:20 +01:00
Introduce style::values::animated::color
Starting to remove stuff from style::properties::animated_properties for real.
This commit is contained in:
parent
60c44b072c
commit
49204e2c72
14 changed files with 377 additions and 317 deletions
|
@ -705,13 +705,17 @@ ${helpers.predefined_type(
|
|||
% endif
|
||||
</%helpers:longhand>
|
||||
|
||||
${helpers.predefined_type("text-emphasis-color", "Color",
|
||||
"computed_value::T::currentcolor()",
|
||||
initial_specified_value="specified::Color::currentcolor()",
|
||||
products="gecko", animation_value_type="IntermediateColor",
|
||||
need_clone=True, ignored_when_colors_disabled=True,
|
||||
spec="https://drafts.csswg.org/css-text-decor/#propdef-text-emphasis-color")}
|
||||
|
||||
${helpers.predefined_type(
|
||||
"text-emphasis-color",
|
||||
"Color",
|
||||
"computed_value::T::currentcolor()",
|
||||
initial_specified_value="specified::Color::currentcolor()",
|
||||
products="gecko",
|
||||
animation_value_type="AnimatedColor",
|
||||
need_clone=True,
|
||||
ignored_when_colors_disabled=True,
|
||||
spec="https://drafts.csswg.org/css-text-decor/#propdef-text-emphasis-color",
|
||||
)}
|
||||
|
||||
${helpers.predefined_type(
|
||||
"-moz-tab-size", "length::NonNegativeLengthOrNumber",
|
||||
|
@ -723,21 +727,28 @@ ${helpers.predefined_type(
|
|||
// CSS Compatibility
|
||||
// https://compat.spec.whatwg.org
|
||||
${helpers.predefined_type(
|
||||
"-webkit-text-fill-color", "Color",
|
||||
"-webkit-text-fill-color",
|
||||
"Color",
|
||||
"computed_value::T::currentcolor()",
|
||||
products="gecko", animation_value_type="IntermediateColor",
|
||||
need_clone=True, ignored_when_colors_disabled=True,
|
||||
products="gecko",
|
||||
animation_value_type="AnimatedColor",
|
||||
need_clone=True,
|
||||
ignored_when_colors_disabled=True,
|
||||
flags="APPLIES_TO_FIRST_LETTER APPLIES_TO_FIRST_LINE APPLIES_TO_PLACEHOLDER",
|
||||
spec="https://compat.spec.whatwg.org/#the-webkit-text-fill-color")}
|
||||
spec="https://compat.spec.whatwg.org/#the-webkit-text-fill-color",
|
||||
)}
|
||||
|
||||
${helpers.predefined_type(
|
||||
"-webkit-text-stroke-color", "Color",
|
||||
"-webkit-text-stroke-color",
|
||||
"Color",
|
||||
"computed_value::T::currentcolor()",
|
||||
initial_specified_value="specified::Color::currentcolor()",
|
||||
products="gecko", animation_value_type="IntermediateColor",
|
||||
products="gecko",
|
||||
animation_value_type="AnimatedColor",
|
||||
need_clone=True, ignored_when_colors_disabled=True,
|
||||
flags="APPLIES_TO_FIRST_LETTER APPLIES_TO_FIRST_LINE APPLIES_TO_PLACEHOLDER",
|
||||
spec="https://compat.spec.whatwg.org/#the-webkit-text-stroke-color")}
|
||||
spec="https://compat.spec.whatwg.org/#the-webkit-text-stroke-color",
|
||||
)}
|
||||
|
||||
${helpers.predefined_type("-webkit-text-stroke-width",
|
||||
"BorderSideWidth",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue