mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-05 18:20:44 -08:00
34 lines
678 B
SCSS
34 lines
678 B
SCSS
@use "true" as *;
|
|
@use "example" as *;
|
|
@use "../src/utils/has" as *;
|
|
|
|
@include test-module("`:has()` selector test [mix]") {
|
|
@include test("exist `:has()`") {
|
|
@include assert {
|
|
@include output {
|
|
@include Has {
|
|
@include example;
|
|
}
|
|
}
|
|
@include expect {
|
|
@supports selector(:has(a)) {
|
|
@include example;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@include test("don't exist `:has()`") {
|
|
@include assert {
|
|
@include output {
|
|
@include NotHas {
|
|
@include example;
|
|
}
|
|
}
|
|
@include expect {
|
|
@supports not selector(:has(a)) {
|
|
@include example;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|