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;
}

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