Skip to content

Commit

Permalink
style: Change nscolor to StyleComplexColor in SVG properties.
Browse files Browse the repository at this point in the history
Change mStopColor, mFloodColor, and mLightingColor in nsStyleSVGReset.

Bug: 1457353
Reviewed-by: xidorn
MozReview-Commit-ID: KMRMtHk1jNK
  • Loading branch information
djg authored and emilio committed Jun 2, 2018
1 parent 0bfd1dc commit 4108b1b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions components/style/properties/longhand/svg.mako.rs
Expand Up @@ -21,8 +21,8 @@ ${helpers.single_keyword("vector-effect", "none non-scaling-stroke",

${helpers.predefined_type(
"stop-color",
"RGBAColor",
"RGBA::new(0, 0, 0, 255)",
"Color",
"RGBA::new(0, 0, 0, 255).into()",
products="gecko",
animation_value_type="AnimatedRGBA",
spec="https://www.w3.org/TR/SVGTiny12/painting.html#StopColorProperty",
Expand All @@ -37,10 +37,10 @@ ${helpers.predefined_type("stop-opacity", "Opacity", "1.0",

${helpers.predefined_type(
"flood-color",
"RGBAColor",
"RGBA::new(0, 0, 0, 255)",
"Color",
"RGBA::new(0, 0, 0, 255).into()",
products="gecko",
animation_value_type="AnimatedRGBA",
animation_value_type="AnimatedColor",
spec="https://www.w3.org/TR/SVG/filters.html#FloodColorProperty",
)}

Expand All @@ -50,10 +50,10 @@ ${helpers.predefined_type("flood-opacity", "Opacity",

${helpers.predefined_type(
"lighting-color",
"RGBAColor",
"RGBA::new(255, 255, 255, 255)",
"Color",
"RGBA::new(255, 255, 255, 255).into()",
products="gecko",
animation_value_type="AnimatedRGBA",
animation_value_type="AnimatedColor",
spec="https://www.w3.org/TR/SVG/filters.html#LightingColorProperty",
)}

Expand Down

0 comments on commit 4108b1b

Please sign in to comment.