cleanupRootStyle

external fun cleanupRootStyle(svg: SVG): dynamic

Clean up the root <style>. Returns removed animations and at-rules.

Keeps inline styles, global rules and keyframes; removes other at-rules such as @font-face and @media. The returned object contains animations and removedAtRules sets, each omitted when empty.