style: Add lab, lch, oklab and oklch to DevTools autocomplete

Differential Revision: https://phabricator.services.mozilla.com/D167803
This commit is contained in:
Nicolas Chevobbe 2023-01-25 16:25:35 +00:00 committed by Martin Robinson
parent 6542bb135e
commit d9a9ae4d7b

View file

@ -1101,6 +1101,9 @@ impl SpecifiedValueInfo for Color {
if allow_color_mix() {
f(&["color-mix"]);
}
if static_prefs::pref!("layout.css.more_color_4.enabled") {
f(&["lab", "lch", "oklab", "oklch"]);
}
}
}