I'm using css import assertions which are being transpiled at build time and construct-style-sheets-polyfill takes care of adding the styles in unsupported browsers.
However, this seems to be incompatible with this polyfill.
Here's a demo:
https://css-paint-polyfill-constructable-style-sheets.glitch.me/
In Chrome and Edge this works, because both constructable style sheets and css paint are supported. In Safari this also works fine somehow. But in Firefox this doesn't seem to work. The styles load fine, except for the css paint animations.