mirror of
https://github.com/servo/servo.git
synced 2025-08-26 07:38:21 +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
|
@ -10,11 +10,16 @@
|
|||
additional_methods=[Method("outline_has_nonzero_width", "bool")]) %>
|
||||
|
||||
// TODO(pcwalton): `invert`
|
||||
${helpers.predefined_type("outline-color", "Color", "computed_value::T::currentcolor()",
|
||||
initial_specified_value="specified::Color::currentcolor()",
|
||||
animation_value_type="IntermediateColor", need_clone=True,
|
||||
ignored_when_colors_disabled=True,
|
||||
spec="https://drafts.csswg.org/css-ui/#propdef-outline-color")}
|
||||
${helpers.predefined_type(
|
||||
"outline-color",
|
||||
"Color",
|
||||
"computed_value::T::currentcolor()",
|
||||
initial_specified_value="specified::Color::currentcolor()",
|
||||
animation_value_type="AnimatedColor",
|
||||
need_clone=True,
|
||||
ignored_when_colors_disabled=True,
|
||||
spec="https://drafts.csswg.org/css-ui/#propdef-outline-color",
|
||||
)}
|
||||
|
||||
<%helpers:longhand name="outline-style" animation_value_type="discrete"
|
||||
spec="https://drafts.csswg.org/css-ui/#propdef-outline-style">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue