зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1778695 - Account for color-mix pref in test_bug877690.
Differential Revision: https://phabricator.services.mozilla.com/D151370
This commit is contained in:
Родитель
c81b99c8ff
Коммит
f6e2a99fb9
|
@ -32,7 +32,10 @@ function testValues(values, expected) {
|
|||
}
|
||||
|
||||
function do_test() {
|
||||
var allColors = [ "COLOR", "color-mix", "currentColor", "transparent", "rgb", "rgba", "hsl", "hsla", "hwb" ];
|
||||
var allColors = [ "COLOR", "currentColor", "transparent", "rgb", "rgba", "hsl", "hsla", "hwb" ];
|
||||
if (SpecialPowers.getBoolPref("layout.css.color-mix.enabled")) {
|
||||
allColors.push("color-mix");
|
||||
}
|
||||
var allGradients = [
|
||||
"linear-gradient",
|
||||
"-webkit-linear-gradient",
|
||||
|
|
Загрузка…
Ссылка в новой задаче