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

CSS packer minifies #ARGB values incorrectly

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 4.4.0
    • None
    • 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

            unknown unknown
            d24ca137-3cee-42c9-86d9-b8fd9173fb23@accounts.ibexa.co Gabriel Finkelstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: