Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61879

PHP CSS parser fails to pass calc() values

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Sprint:
      Moppies Moodle 3.8 Sprint 5

      Description

      Bootstrap 4 stables uses nested calc() values in CSS.

      For example:

      calc((0.5rem + 1px) * -1);

      The php-css-parser has issues processing these values for a number of reasons. 

      Addition inside calc is not support

      Nested values are not supported

      As a result the php-css-parser strips out these calc values and bootstrap 4 components like popovers do not have correctly styled arrows

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              basbrands Bas Brands
              Reporter:
              basbrands Bas Brands
              Participants:
              Component watchers:
              Bas Brands
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/19