Will this be useful for SMIL animated inline SVG elements?
If I have a circle element that will move vertically and change transparency should I add will-change: cy, fill-opacity; to the CSS for it?
Yes, will-change can be very useful for optimizing animated SVG elements. For your example of a circle moving vertically with changing opacity, adding will-change: cy, fill-opacity; to that circle is an appropriate use case.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Will this be useful for SMIL animated inline SVG elements?
If I have a circle element that will move vertically and change transparency should I add will-change: cy, fill-opacity; to the CSS for it?
Yes,
will-changecan be very useful for optimizing animated SVG elements. For your example of a circle moving vertically with changing opacity, addingwill-change: cy, fill-opacity;to that circle is an appropriate use case.