4

IE9 has a 4095 selectors / stylesheet limit. ( you can read a little bit about that here ). Once that limit is hit, the rest of the styling rules are silently ignored. (thank you Microsoft employees for not even bothering with a error message to console)

I would a clean solution from the Meteor community on how to have Meteor serve the original css files (minimizing is o.k. but not concatenated) to IE9-.

We are doing a temporary hack of asking user to upgrade but that seems really lame since the solution is "simply" get Meteor to not concatenate the css files.

Community
  • 1
  • 1
Pat
  • 5,761
  • 5
  • 34
  • 50

2 Answers2

0

I don't know if this helps in your case, but we faced a similar issue with IE earlier and the workaround we used was to split the CSS generated into multiple files. IE allows upto 31 stylesheets per page so that makes up to 4095 x 31 selectors, which is better but still not the best.

aa333
  • 2,556
  • 16
  • 23
0

At the moment, you should split, minify, and concatenate the CSS yourself, and place it inside the /public directory and reference it that way.

d4nyll
  • 11,811
  • 6
  • 54
  • 68