Skip to content

Doesn't work with constructable style sheets #31

@jespertheend

Description

@jespertheend

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions