Skip to content

feat: supported supports() and layer() in @import at-rule #1377

New issue

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

Merged
merged 37 commits into from
Sep 17, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d3df855
feat: supported `supports()` and `layer()` in `@import` at-rule
alexander-akait Sep 15, 2021
e645c1a
test: update
alexander-akait Sep 15, 2021
23e819d
test: more
alexander-akait Sep 15, 2021
837f313
test: more
alexander-akait Sep 15, 2021
4ed5f9a
test: fix
alexander-akait Sep 16, 2021
aafa0d8
test: more
alexander-akait Sep 16, 2021
803aa9c
test: more
alexander-akait Sep 16, 2021
f5097f1
fix: runtime
alexander-akait Sep 16, 2021
3748511
test: fix
alexander-akait Sep 16, 2021
1292f23
fix: merging `supports`
alexander-akait Sep 16, 2021
f44ab0e
test: update
alexander-akait Sep 16, 2021
0b9e498
test: more
alexander-akait Sep 16, 2021
e184446
test: more
alexander-akait Sep 16, 2021
d80e2c3
feat: filter supports `supports` and `layer`
alexander-akait Sep 16, 2021
4cb374f
test: more
alexander-akait Sep 16, 2021
0ccbff0
test: more
alexander-akait Sep 16, 2021
738e940
fix: api
alexander-akait Sep 16, 2021
d485766
test: more
alexander-akait Sep 16, 2021
8368cb5
fix: merge `@media`
alexander-akait Sep 16, 2021
8cf1fc0
test: more
alexander-akait Sep 16, 2021
ce6ee30
test: more
alexander-akait Sep 16, 2021
d1c2084
test: more
alexander-akait Sep 16, 2021
557414c
test: more
alexander-akait Sep 16, 2021
2f1b66b
test: more
alexander-akait Sep 16, 2021
b1a9397
test: more
alexander-akait Sep 16, 2021
ac2f5dd
test: more
alexander-akait Sep 16, 2021
792ad9f
test: more
alexander-akait Sep 16, 2021
b3efd27
test: more
alexander-akait Sep 16, 2021
94a4313
test: more
alexander-akait Sep 16, 2021
95f3eb6
fix: merging `@layer`
alexander-akait Sep 16, 2021
5563276
test: update
alexander-akait Sep 16, 2021
ade4d84
fix: order
alexander-akait Sep 16, 2021
176383f
fix: reduce runtime
alexander-akait Sep 17, 2021
87c5031
fix: reduce runtime
alexander-akait Sep 17, 2021
b770635
fix: reduce runtime
alexander-akait Sep 17, 2021
8b3fc11
fix: source maps
alexander-akait Sep 17, 2021
f08ee98
test: more
alexander-akait Sep 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: more
  • Loading branch information
alexander-akait committed Sep 16, 2021
commit ce6ee300562e23c7b4e5e9a73c660262f833de09
8 changes: 8 additions & 0 deletions test/fixtures/import/import-multiple-with-layer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@import url('./test.css') layer(base);
@import url('./relative.css') layer(base);

@layer base {
.foo {
color: red;
}
}
5 changes: 3 additions & 2 deletions test/fixtures/import/import.css
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,14 @@ st.css');
@import /* Comment */ url(test.css) /* Comment */ print and (orientation:landscape);

@import url("./import-with-media.css") screen and (min-width: 400px);
@import url("./import-unnamed-layer.css") layer(base);
@import url("./import-multiple-unnamed-layer.css") layer(base);
@import url("./import-with-supports.css") supports(display: flex);
@import url("./import-with-supports.css") supports(((display: flex)));
@import url("./import-with-supports-and-media.css") supports(display: flex) screen and (min-width: 400px);
@import url("./import-with-layer.css") layer(default);
@import url("./import-multiple-with-layer.css") layer(default);
@import url("./import-with-layer-unnamed.css") layer(default);
@import url("./import-unnamed-layer.css") layer(base);
@import url("./import-multiple-unnamed-layer.css") layer(base);
@import url("./import-with-layer-and-supports.css") layer(default) supports(display: flex);
@import url("./import-with-layer-and-supports-and-media.css") layer(default) supports(display: flex) screen and (min-width: 400px);

Expand Down