mirror of
https://github.com/servo/servo.git
synced 2025-09-07 05:28: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
|
@ -20,15 +20,17 @@
|
|||
side_name = side[0]
|
||||
is_logical = side[1]
|
||||
%>
|
||||
${helpers.predefined_type("border-%s-color" % side_name, "Color",
|
||||
"computed_value::T::currentcolor()",
|
||||
alias=maybe_moz_logical_alias(product, side, "-moz-border-%s-color"),
|
||||
spec=maybe_logical_spec(side, "color"),
|
||||
animation_value_type="IntermediateColor",
|
||||
logical=is_logical,
|
||||
allow_quirks=not is_logical,
|
||||
flags="APPLIES_TO_FIRST_LETTER",
|
||||
ignored_when_colors_disabled=True)}
|
||||
${helpers.predefined_type(
|
||||
"border-%s-color" % side_name, "Color",
|
||||
"computed_value::T::currentcolor()",
|
||||
alias=maybe_moz_logical_alias(product, side, "-moz-border-%s-color"),
|
||||
spec=maybe_logical_spec(side, "color"),
|
||||
animation_value_type="AnimatedColor",
|
||||
logical=is_logical,
|
||||
allow_quirks=not is_logical,
|
||||
flags="APPLIES_TO_FIRST_LETTER",
|
||||
ignored_when_colors_disabled=True,
|
||||
)}
|
||||
|
||||
${helpers.predefined_type("border-%s-style" % side_name, "BorderStyle",
|
||||
"specified::BorderStyle::none",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue