Skip to content

[Observer] Observer doesn't watch for CSSStyleSheet.insertRule #104

@VladimirMilenko

Description

@VladimirMilenko

Currently, it is impossible to track calls to insertRule(which is used in CSS-in-JS libraries).
With this, it's impossible to get the styles, which are added dynamically during render phase.

I believe this can be solved by proxying calls to styleElement.sheet.addRule/insertRule

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