buntarb / closure-stylesheets

Automatically exported from code.google.com/p/closure-stylesheets
Apache License 2.0
0 stars 0 forks source link

Support for CSS Media Types #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. whenever css media type is used, parser is throwing GssParserException 
2. Reference http://www.w3schools.com/css/css_mediatypes.asp
3. Input

---
@media print{ html {  background:#fff; } }

---

What is the expected output?
@media print{html{background:#fff;}}

What version of the product are you using? On what operating system?
closure-stylesheets-20111215.jar, Windows XP Professional

Please provide any additional information below.

Original issue reported on code.google.com by pala...@gmail.com on 23 Dec 2011 at 8:38

GoogleCodeExporter commented 9 years ago
I cannot reproduce this issue -- using 
closure-stylesheets-20111215.jar on Ubuntu, when I run Closure Stylesheets on a 
file containing:

@media print{ html {  background:#fff; } }

I get:

@media print{html{background:#fff}}

Original comment by bolinf...@gmail.com on 31 Dec 2011 at 9:17

GoogleCodeExporter commented 9 years ago
Its working, It wasn't working earlier because of file encoding issue (the 
input file was encoded in Unicode). I got parser exception due to that. After 
changing encoding method, its working now.

Thanks for your support. You can close the issue.

Original comment by pala...@gmail.com on 1 Jan 2012 at 9:06

GoogleCodeExporter commented 9 years ago

Original comment by bolinf...@gmail.com on 6 Jan 2012 at 6:53