Skip to content

parseStylesheet crashes on @media rules #11

@csnover

Description

@csnover

The stylesheet parser is naive and assumes that there are never nested rules, which is not the case when CSS3 @media is used. When one of these is encountered, the parser crashes. I don’t know that these actually need to be supported, but it would at least be good if they were safely ignored instead of causing a crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions