Introduce style::values::animated::color

Starting to remove stuff from style::properties::animated_properties for real.
This commit is contained in:
Anthony Ramine 2017-08-14 01:25:02 +02:00
parent 60c44b072c
commit 49204e2c72
14 changed files with 377 additions and 317 deletions

View file

@ -20,11 +20,13 @@ ${helpers.single_keyword("vector-effect", "none non-scaling-stroke",
// Section 13 - Gradients and Patterns
${helpers.predefined_type(
"stop-color", "RGBAColor",
"stop-color",
"RGBAColor",
"RGBA::new(0, 0, 0, 255)",
products="gecko",
animation_value_type="IntermediateRGBA",
spec="https://www.w3.org/TR/SVGTiny12/painting.html#StopColorProperty")}
animation_value_type="AnimatedRGBA",
spec="https://www.w3.org/TR/SVGTiny12/painting.html#StopColorProperty",
)}
${helpers.predefined_type("stop-opacity", "Opacity", "1.0",
products="gecko",
@ -34,22 +36,26 @@ ${helpers.predefined_type("stop-opacity", "Opacity", "1.0",
// Section 15 - Filter Effects
${helpers.predefined_type(
"flood-color", "RGBAColor",
"flood-color",
"RGBAColor",
"RGBA::new(0, 0, 0, 255)",
products="gecko",
animation_value_type="IntermediateRGBA",
spec="https://www.w3.org/TR/SVG/filters.html#FloodColorProperty")}
animation_value_type="AnimatedRGBA",
spec="https://www.w3.org/TR/SVG/filters.html#FloodColorProperty",
)}
${helpers.predefined_type("flood-opacity", "Opacity",
"1.0", products="gecko", animation_value_type="ComputedValue",
spec="https://www.w3.org/TR/SVG/filters.html#FloodOpacityProperty")}
${helpers.predefined_type(
"lighting-color", "RGBAColor",
"lighting-color",
"RGBAColor",
"RGBA::new(255, 255, 255, 255)",
products="gecko",
animation_value_type="IntermediateRGBA",
spec="https://www.w3.org/TR/SVG/filters.html#LightingColorProperty")}
animation_value_type="AnimatedRGBA",
spec="https://www.w3.org/TR/SVG/filters.html#LightingColorProperty",
)}
// CSS Masking Module Level 1
// https://drafts.fxtf.org/css-masking