Bug 1899107 - [devtools] Display light-dark function in autocomplete. r=layout-reviewers,emilio.

Differential Revision: https://phabricator.services.mozilla.com/D211716
This commit is contained in:
Nicolas Chevobbe 2024-06-05 13:53:08 +00:00
parent 3c8ca8f533
commit f114f4f423
2 changed files with 5 additions and 3 deletions

View File

@ -48,6 +48,7 @@ function do_test() {
"color",
"lab",
"lch",
"light-dark",
"oklab",
"oklch"
];

View File

@ -816,19 +816,20 @@ impl SpecifiedValueInfo for Color {
// XXX `currentColor` should really be `currentcolor`. But let's
// keep it consistent with the old system for now.
f(&[
"currentColor",
"transparent",
"rgb",
"rgba",
"hsl",
"hsla",
"hwb",
"currentColor",
"transparent",
"color-mix",
"color",
"lab",
"lch",
"oklab",
"oklch",
"color-mix",
"light-dark",
]);
}
}