Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-63003

Parsed css fragment won't be merged to main.css if @import url() contains quotes

    Details

    • Fix Priority:
      3

      Description

      Reproduction Steps on Master:

      1. Go to liferay-plugins\themes\zoe-resort-theme\docroot_diffs\css
      2. Make a new folder and name it with "a"
      3. Add the attached "red.css" file to this folder.
      4. Go back to "css" folder and open for edit the _custom.scss
      5. Add the following row to this: "@import url("a/red.css");"
      6. Build this theme.

      Expected behavior:

      The generated main.css file in liferay-plugins\themes\zoe-resort-theme\docroot\css\.sass-cache\ folder should contain the added new "body" css selector like this:

      body {
        background-color: red;
        min-width: 300px;
        min-height: 300px; }
      

      Current behavior:

      The generated main.css file doesn't contain the new "body" selector.

      Reproduction Steps on ee-6.2.x:

      1. Go to liferay-plugins-ee\themes\zoe-resort-theme\docroot_diffs\css\
      2. Make a new folder and name it with "a"
      3. Add the attached "red.css" file to this folder.
      4. Go back to "css" folder and open for edit the custom.css
      5. Add the following row to this: "@import url("a/red.css");"
      6. Build this theme.

      Expected behavior:

      The generated custom.css file in liferay-plugins\themes\zoe-resort-theme\docroot\css\.sass-cache\ folder should contain the added new "body" css selector like this:

      body {
        background-color: red;
        min-width: 300px;
        min-height: 300px; }
      

      Current behavior:

      The generated custom.css file doesn't contain the new "body" selector.

        Attachments

          Activity

            People

            • Assignee:
              jose.balsas Chema Balsas
              Reporter:
              zsolt.szabo Zsolt Szabo (Inactive)
              Participants of an Issue:
              Recent user:
              Michael Saechang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 41 weeks, 2 days ago

                Packages

                Version Package