Export to GitHub

css3-mediaqueries-js - issue #2

Confused by @charset-Rules


Posted on Aug 19, 2010 by Quick Rabbit

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.

Comment #1

Posted on Apr 4, 2014 by Happy Ox

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?

Status: New

Labels:
Type-Defect Priority-Medium