Recently ran into the scenario where the 4096 limit was not enough for IE9 (thinking that media queries are counted towards the total, despite that supposedly not being true).

As a result we needed to lower the count and an interface option for changing this value seemed the best approach. Attached is a patch for 7.x-2.4 that adds this functionality.

The only thing I feel uncertain of here is the value being passed to the YUI compressor in advagg_css_compress module.... it was at 4096 (not 4095) so maybe this was a nice binary number for a reason and passing in some arbitrary number has performance implications.

Great module by the way!

Alex

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeytown2’s picture

Status: Active » Fixed
FileSize
4.21 KB

The YUI compressor will output a new line character after 4k of text, makes it easier to look at in text editors. I've committed all changes except for the changes to advagg_css_compress as that change shouldn't affect the problem you've been having with IE9. Did some slight modifications to your patch as well :)

aschmoe’s picture

Great, thank you.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

aschmoe’s picture

Version: 7.x-2.4 » 7.x-2.5
Status: Closed (fixed) » Needs work

Hi Mikey,

Looks like you have had some regression on this. With 7.x-2.5 (and the current dev branch) you're pulling in the variable, but just checking against a raw "4095" value.

Alex

aschmoe’s picture

Patch attached for 7.x-2.5.

mikeytown2’s picture

Status: Needs work » Fixed

#5 has been committed

  • Commit be8da7c on 7.x-2.x authored by aschmoe, committed by mikeytown2:
    Issue #2181209 by aschmoe: Fix regression with IE CSS.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.