Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23906

CSS compression bug

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 17.10.2
    • Rendering - XWiki
    • None
    • Unknown
    • N/A
    • N/A

    Description

      In case you use CSS rules like the following

      .title {
        font-size: calc(1em + 2px);
      }

      then the white-space surrounding the plus sign should survive the CSS compression.
      Otherwise, it's a CSS syntax error and the corresponding CSS rule will be ignored.
      Same with `calc` in combination with the minus sign.

      In case you are still using YUI compressor, then the problem is a bug there: 
      https://github.com/yui/yuicompressor/issues/330
      In that case, I guess, you should replace it with a modern CSS compressor.
      Thank you very much in advance.

       

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              rao Ralf
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: