webmechanicx / css3-mediaqueries-js

CSS3 Media Queries - JS
3 stars 0 forks source link

Confused by @charset-Rules #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start your css-file with a @charset-Rule (@charset "UTF-8";)
2. Use a @media-Rule below

The script should recognize and apply the @media-Rule, but it doesn't.

I'm using Firefox 3.0 on Ubuntu Linux.

When debugging it turns out that the REGEX for Blocks recognizes the @charset 
as a beginning of a block, which is never closed.

Original issue reported on code.google.com by besser.barrierefrei on 19 Aug 2010 at 11:22

GoogleCodeExporter commented 8 years ago
Back from the dead... There is a new version of the script. It has some CSS 
parsing and processing improvements. If you're still using it, or would like to 
try again, could you confirm that this issue is solved or not?

Original comment by wou...@dynora.nl on 4 Apr 2014 at 11:46