GoogleChromeLabs / css-triggers

A reference for the render impact of mutating CSS properties.
https://csstriggers.com/
Apache License 2.0
899 stars 70 forks source link

SVG Properties #37

Open josh18 opened 7 years ago

josh18 commented 7 years ago

Not sure if this is out of the scope of the project but would you consider adding svg properties that are changed via css?

For example fill, stroke, stroke-width etc.

mikesteele commented 6 years ago

In addition, it would be nice to know if CSS properties cause repainting if used on SVGs. Properties like transform, that don't cause repainting in normal elements, will cause repainting in SVGs due to poor browser implementations of SVG. See this article: https://www.crmarsh.com/svg-performance/