Skip to content

com.osbcp.cssparser.CSSParser does not support @media queries #1

Description

@laurentbackelite

Hi !

The following CSS with a simple media query does not parse correctly, "}" brackets are moved between Rules :
Can you look at it maybe ? :)
Thanks

Input :
@media ( width > 600 and print) {
p{background-color:red;visible:true;}
}
@media ( width > 600 ) {
p{background-color:red;}
}

Output produced, brackets are moved :
@media ( width > 600 and print) {
p{background-color: red;
visible: true;
}

} @media ( width > 600 ) {
p{background-color: red;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions