mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Add separate computed Color value.
This commit is contained in:
parent
742c45f859
commit
c62935577a
20 changed files with 317 additions and 145 deletions
|
@ -686,7 +686,7 @@ ${helpers.predefined_type("word-spacing",
|
|||
</%helpers:longhand>
|
||||
|
||||
${helpers.predefined_type("text-emphasis-color", "Color",
|
||||
"::cssparser::Color::CurrentColor",
|
||||
"computed_value::T::currentcolor()",
|
||||
initial_specified_value="specified::Color::currentcolor()",
|
||||
products="gecko", animation_value_type="IntermediateColor",
|
||||
need_clone=True, ignored_when_colors_disabled=True,
|
||||
|
@ -705,14 +705,14 @@ ${helpers.predefined_type(
|
|||
// https://compat.spec.whatwg.org
|
||||
${helpers.predefined_type(
|
||||
"-webkit-text-fill-color", "Color",
|
||||
"CSSParserColor::CurrentColor",
|
||||
"computed_value::T::currentcolor()",
|
||||
products="gecko", animation_value_type="IntermediateColor",
|
||||
need_clone=True, ignored_when_colors_disabled=True,
|
||||
spec="https://compat.spec.whatwg.org/#the-webkit-text-fill-color")}
|
||||
|
||||
${helpers.predefined_type(
|
||||
"-webkit-text-stroke-color", "Color",
|
||||
"CSSParserColor::CurrentColor",
|
||||
"computed_value::T::currentcolor()",
|
||||
initial_specified_value="specified::Color::currentcolor()",
|
||||
products="gecko", animation_value_type="IntermediateColor",
|
||||
need_clone=True, ignored_when_colors_disabled=True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue