Update packages/autocomplete-css/update.js

This commit is contained in:
confused_techie 2023-03-04 16:46:55 -08:00 committed by GitHub
parent 10240764f9
commit 0ab4f7d22a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,7 +184,7 @@ function getValuesOfProp(value, allValues, appendImplicitValues=true) {
// We will at least supply the implicitly defined keywords that apply to all CSS properties
let implicitValues = [ "inherit", "initial", "unset" ];
if (!value || value.length < 0) {
if (!value) {
if (appendImplicitValues === true) {
return implicitValues;
}