tests(css): supports at rule (#3816)
This commit is contained in:
1 parent
5e43ff9ac2
commit
ca949a46d2
4 files changed
+393
No files matched your search
@@ -7,6 +7,12 @@ exports[`variables.css 1`] = `
|
||||
prop2: var(--my-var, --my-background, pink);
|
||||
prop3: calc(var(--prop) * 1px);
|
||||
}
|
||||
|
||||
@supports (--foo: green) {
|
||||
body {
|
||||
color: var(--varName);
|
||||
}
|
||||
}
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.foo {
|
||||
--prop: 10px;
|
||||
@@ -15,4 +21,10 @@ exports[`variables.css 1`] = `
|
||||
prop3: calc(var(--prop) * 1px);
|
||||
}
|
||||
|
||||
@supports (--foo: green) {
|
||||
body {
|
||||
color: var(--varName);
|
||||
}
|
||||
}
|
||||
|
||||
`;
|
||||
@@ -4,3 +4,9 @@
|
||||
prop2: var(--my-var, --my-background, pink);
|
||||
prop3: calc(var(--prop) * 1px);
|
||||
}
|
||||
|
||||
@supports (--foo: green) {
|
||||
body {
|
||||
color: var(--varName);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user