Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9905

When css for print media only are minified the rendering does not take care of the print rule defined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.2.11, 4.3.0
    • 4.2.0
    • None
    • None
    • 4.3 RC1

      How to reproduce :

      • use the css file in attachment
      • import it
        <link rel="stylesheet" href="{ametys:skinURL('css/print.css')}" media="print"/>
      • preview with your browser the rendering for print
        > the rules are not applyed

      next, import the same css file like this :

      <link rel="stylesheet" href="{ametys:skinURL('css/print.css')}" media="print" data-donotminimize="true"/>

      > the rendering for print is ok.

            raphael Raphaël Franchet
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: