We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS @import supports code in the following formats:
@import url; @import url layer; @import url layer(layer-name); @import url layer(layer-name) supports(supports-condition); @import url layer(layer-name) supports(supports-condition) list-of-media-queries; @import url layer(layer-name) list-of-media-queries; @import url supports(supports-condition); @import url supports(supports-condition) list-of-media-queries; @import url list-of-media-queries;
Looking at
minify/src/CSS.php
Line 120 in cb7a929
@import url;
@import url list-of-media-queries;
Basic layer Test Case:
@import url('file1.css') layer(testLayer1); @import url('file2.css') layer(testLayer2);
Minified Outcome (invalid code, not used by browser):
@media layer(testLayer1){/*...file1.css...*/}@media layer(testLayer2){/*...file2.css...*/}
Expected Outcome (imported files converted to appropriate @layer entries):
@layer
@layer testLayer1{/*...file1.css...*/}@layer testLayer2{/*...file2.css...*/}
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
CSS @import supports code in the following formats:
Looking at
minify/src/CSS.php
Line 120 in cb7a929
@import url;
and@import url list-of-media-queries;
, 'layer' and 'supports' are not checked.Basic layer Test Case:
Minified Outcome (invalid code, not used by browser):
Expected Outcome (imported files converted to appropriate
@layer
entries):The text was updated successfully, but these errors were encountered: