Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19377

CSS packer minifies #ARGB values incorrectly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 4.4.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: Debian
      PHP Version: 5.3
      Database and version: mysql 5.0
      Browser (and version): All

      Description

      Some of IE CSS filters (gradients, for example) use #ARGB colors. The CSS packer tries to minify them assuming they are #RGB. So, for example, the following code:

      filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF003300,endColorstr=#FFCC33CC);
      

      Is minified into:

      filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#F0300,endColorstr=#FC3CC);
      
      Steps to reproduce

      1. Paste the first code in a CSS block
      2. Enable packer (DevelopmentMode=disabled)
      3. View generated stylesheet

        Attachments

          Activity

            People

            Assignee:
            unknown unknown
            Reporter:
            gfinkelstein Gabriel Finkelstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: