mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-05 18:20:44 -08:00
67 lines
1.6 KiB
SCSS
67 lines
1.6 KiB
SCSS
@use 'true' as *;
|
|
@use "example" as *;
|
|
@use "../src/utils/option";
|
|
|
|
@include test-module("If exist pref [mix]") {
|
|
@include test("simple") {
|
|
@include assert {
|
|
@include output {
|
|
@include option.Option("userChrome.tab.photon") {
|
|
@include example;
|
|
}
|
|
}
|
|
@include expect {
|
|
@supports -moz-bool-pref(userChrome.tab.photon) {
|
|
@include example;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@include test("multiple") {
|
|
@include assert {
|
|
@include output {
|
|
@include option.Option("userChrome.tab.photon", "userChrome.padding.photon") {
|
|
@include example;
|
|
}
|
|
}
|
|
@include expect {
|
|
@supports -moz-bool-pref(userChrome.tab.photon) or -moz-bool-pref(userChrome.padding.photon) {
|
|
@include example;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@include test-module("If not exist pref [mx]") {
|
|
@include test("simple") {
|
|
@include assert {
|
|
@include output {
|
|
@include option.NotOption("userChrome.tab.photon") {
|
|
@include example;
|
|
}
|
|
}
|
|
@include expect {
|
|
@supports not -moz-bool-pref(userChrome.tab.photon) {
|
|
@include example;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@include test("multiple") {
|
|
@include assert {
|
|
@include output {
|
|
@include option.Option("userChrome.tab.photon", "userChrome.padding.photon") {
|
|
@include example;
|
|
}
|
|
}
|
|
@include expect {
|
|
@supports -moz-bool-pref(userChrome.tab.photon) or -moz-bool-pref(userChrome.padding.photon) {
|
|
@include example;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|