CSS expansion: nested @import statements are not interpreted

Created on 3 December 2018, about 6 years ago
Updated 15 January 2025, 9 days ago

When inlining CSS, i.e.: for e-mail, @import statements in inlined files are not recursively inlined.
This is however needed when theme print.css contains such statements.

The attached patch introduces this feature: it is limited to relative local files urls without media condition and protected against infinite recursion.

Thanks for considering it.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
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.

No activities found.

Production build 0.71.5 2024