Respond icon indicating copy to clipboard operation
Respond copied to clipboard

Patch for include css files via @import url(xxx);

Open philippeauriach opened this issue 11 years ago • 1 comments

As we have very large CSS files and need to be OK with IE 8, we had to split the CSS in several files (using blessCss auto splitting) to not exceed the 4095 CSS selectors limitation on IE. But we also have to use media-queries... I developped this little patch, basically what it does :

  • for every css file, check using regexp if there is an @import url(xxx);
  • if there is imported files, I put them in the queue (first in line), and put back the current file in the queue right after them
  • continue the queue without proceeding the importING file -> it continues with the newly added imported file
  • etc...

philippeauriach avatar Aug 11 '14 16:08 philippeauriach

see issue #285

philippeauriach avatar Aug 11 '14 16:08 philippeauriach