janslu opened a new issue #1792: CSS optimization breaks IE11, how to disable?
URL: https://github.com/apache/incubator-pagespeed-mod/issues/1792
 
 
   I have a problem with a large css file generated by one of the frameworks. 
Current ModPagespeed built on nginx 1.14 rewrites one of the rules from:
   
   ```
   .cell.auto {
       -ms-flex: 1 1 0px;
       -webkit-box-flex: 1;
       flex: 1 1 0px;
   }
   ```
   to
   ```
   .cell.auto {
       -ms-flex: 1 1 0;
       -webkit-box-flex: 1;
       flex: 1 1 0;
   }
   ```
   
   This change is fine in most browsers, but breaks Internet Explorer 11. 
Unfortunately this rule is used for a main site grid and the whole layout 
breaks. 
   I have tried to find a place to disable this change, but I couldn't. Here 
are my enabled filters:
   ```
   ah   Add Head
   cc   Combine Css
   jc   Combine Javascript
   gp   Convert Gif to Png
   jp   Convert Jpeg to Progressive
   jw   Convert Jpeg To Webp
   mc   Convert Meta Tags
   pj   Convert Png to Jpeg
   ws   When converting images to WebP, prefer lossless conversions
   ec   Cache Extend Css
   ei   Cache Extend Images
   es   Cache Extend Scripts
   fc   Fallback Rewrite Css 
   if   Flatten CSS Imports
   hpsr Hint Preload of Subresources
   hw   Flushes html
   ci   Inline Css
   gf   Inline Google Font CSS
   ii   Inline Images
   il   Inline @import to Link
   ji   Inline Javascript
   idp  Insert DNS Prefetch
   js   Jpeg Subsampling
   cj   Move Css Above Scripts
   rj   Recompress Jpeg
   rp   Recompress Png
   rw   Recompress Webp
   ri   Resize Images
   jm   Rewrite External Javascript
   jj   Rewrite Inline Javascript
   cu   Rewrite Style Attributes With Url
   cp   Strip Image Color Profiles
   md   Strip Image Meta Data
   ```
   
   Any idea how I can protect this part of css from "optimization"?
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to