mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
44 lines
910 B
SCSS
44 lines
910 B
SCSS
@use 'true' 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") {
|
|
body {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
}
|
|
@include expect {
|
|
@supports -moz-bool-pref("userChrome.tab.photon") {
|
|
body {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@include test-module("If not exist pref [mx]") {
|
|
@include test("simple") {
|
|
@include assert {
|
|
@include output {
|
|
@include option.NotOption("userChrome.tab.photon") {
|
|
body {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
}
|
|
@include expect {
|
|
@supports not -moz-bool-pref("userChrome.tab.photon") {
|
|
body {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|