CSS method mask has wrong behavior after Drupal style compression

Created on 17 July 2017, over 7 years ago
Updated 30 January 2023, almost 2 years ago

Hi folks, I found problem with CSS compression.

What are the steps required to reproduce the bug?

Create style with

.element {
   mask: url(#video-mask);
}

This code is valid according to CSS mask

Then enable CSS compression on performance page.

What behavior were you expecting?

See the same result in compressed file:

.element {
   mask: url(#video-mask);
}

What happened instead?

.element {
   mask: url(/themes/custom/THEMENAME/styles/css/#video-mask);
}
🐛 Bug report
Status

Needs work

Version

9.5

Component
Asset library 

Last updated 2 days ago

No maintainer
Created by

🇷🇺Russia niklan Russia, Perm

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • The Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

    Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

    Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.

Production build 0.71.5 2024