mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Make stop-color, flood-color, lighting-color animatable.
Use IntermediateRGBA as the animation value type, just like 'color' attribute.
This commit is contained in:
parent
154186f420
commit
785ef82251
1 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ ${helpers.predefined_type(
|
|||
"stop-color", "RGBAColor",
|
||||
"RGBA::new(0, 0, 0, 255)",
|
||||
products="gecko",
|
||||
animation_value_type="none",
|
||||
animation_value_type="IntermediateRGBA",
|
||||
spec="https://www.w3.org/TR/SVGTiny12/painting.html#StopColorProperty")}
|
||||
|
||||
${helpers.predefined_type("stop-opacity", "Opacity", "1.0",
|
||||
|
@ -37,7 +37,7 @@ ${helpers.predefined_type(
|
|||
"flood-color", "RGBAColor",
|
||||
"RGBA::new(0, 0, 0, 255)",
|
||||
products="gecko",
|
||||
animation_value_type="none",
|
||||
animation_value_type="IntermediateRGBA",
|
||||
spec="https://www.w3.org/TR/SVG/filters.html#FloodColorProperty")}
|
||||
|
||||
${helpers.predefined_type("flood-opacity", "Opacity",
|
||||
|
@ -48,7 +48,7 @@ ${helpers.predefined_type(
|
|||
"lighting-color", "RGBAColor",
|
||||
"RGBA::new(255, 255, 255, 255)",
|
||||
products="gecko",
|
||||
animation_value_type="none",
|
||||
animation_value_type="IntermediateRGBA",
|
||||
spec="https://www.w3.org/TR/SVG/filters.html#LightingColorProperty")}
|
||||
|
||||
// CSS Masking Module Level 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue