osbcp-css-parser icon indicating copy to clipboard operation
osbcp-css-parser copied to clipboard

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

Open laurentbackelite opened this issue 13 years ago • 1 comments

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

laurentbackelite avatar May 21 '12 16:05 laurentbackelite

Hey!

Thank you for your comment.

I have actually never thought about it. I will look into this this week and see if I can work it in :-)

Thanks, Christoffer

corgrath avatar May 21 '12 21:05 corgrath