If using CSS with SVG is important then it’s actually better to use a backend with a library like librsvg (e.g. Cairo) then run node-canvas on top of it like automattic does. Even Inkscape has problems with CSS in SVG files. CSS in browsers is subjective because nowadays they might be using an style that doesn’t have a straightforward approach that can be rasterized. I haven’t had much luck with rasterizing SVG styles past CSS2 spec.
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Hea...
https://developers.google.com/web/updates/2017/04/headless-c...
and in dev panel https://developer.mozilla.org/en-US/docs/Tools/Taking_screen...
Is that what you’re looking for?
No?
So someone somewhere is going to need to rasterise your vectors if you want to see them on a screen, aren't they?